correlation
显示 更早的评论
hi, how I can find the correlation of an array?
I found corr, but it is find correlation between each two columns . how I can find the correlation between rows.
are there command find the correlation among more than two rows?
thanks
回答(2 个)
Paulo Silva
2011-9-2
0 个投票
maybe using corr on the transposed array?!
1 个评论
Niki
2011-9-2
I think you can transpose your matrix like this
for example you have a Matrix >>X=rand(10) then >>X=X';
and then perform "corr" or "corrcoef"
like >>[R]=corrcoef (X);
huda nawaf
2011-9-2
0 个投票
1 个评论
Oleg Komarov
2011-9-2
Rand is just an example, just transpose your matrix.
类别
在 帮助中心 和 File Exchange 中查找有关 Correlation and Convolution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!