Ältere Kommentare anzeigen
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
Antworten (2)
Paulo Silva
am 2 Sep. 2011
0 Stimmen
maybe using corr on the transposed array?!
1 Kommentar
Niki
am 2 Sep. 2011
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
am 2 Sep. 2011
0 Stimmen
1 Kommentar
Oleg Komarov
am 2 Sep. 2011
Rand is just an example, just transpose your matrix.
Kategorien
Mehr zu Correlation and Convolution finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!