Detect a specific range of correlated variable
2 次查看(过去 30 天)
显示 更早的评论
I have a matrix and it is 100 row by 16 column. I am trying to find the correlation coefficient of the 100 variable (row) and select the rows with 0.3 and -0.3 correlated variable, I used the code bellow :
X=xlsread('data1.xls');
[R,P]= corrcoef(X');
R is a symmetric matrix ( 100x100) , how can I specify the variable with 0.3 and -0.3 correlation. what i mean is if i have 100 row then when i select the rows by cutoff 0.3and -0.3 then the row will decrease to 50 for example
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!