How do I find the correlation coefficient between two vector arrays?
254 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Andrei Bobrov
am 23 Aug. 2016
Bearbeitet: Andrei Bobrov
am 23 Aug. 2016
R = corrcoef(A,B)
3 Kommentare
farah arabian
am 19 Jul. 2018
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?
Siehe auch
Kategorien
Mehr zu Descriptive Statistics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!