How do I find the correlation coefficient between two vector arrays?
169 ビュー (過去 30 日間)
古いコメントを表示
Hi guys, I transformed 2 matrices into vector arrays, so like each vector has 1 column and 2850 rows. How do I find the correlation coefficient between the two vector arrays?
I tried to use corrcoef, but I don't think it works in this case yes?
Thank you!
0 件のコメント
回答 (1 件)
Andrei Bobrov
2016 年 8 月 23 日
編集済み: Andrei Bobrov
2016 年 8 月 23 日
R = corrcoef(A,B)
3 件のコメント
farah arabian
2018 年 7 月 19 日
I also have the same question, I have two column vectors, When I use corrcoef it gives me 1 but when I use xcov it give me a logical answer, which one is correct?
参考
カテゴリ
Help Center および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!