correleation coefficent for 2 row vectors in matrix

Status
Not open for further replies.

mohammadriyaz.g

Newbie level 6
Joined
May 8, 2011
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,342
correleation coefficent for 2 row vectors in Matlab

Hi, all

In my mini project ,in the part of Matlab code i have to find the correlation coefficent of 2 row vectors.I have used that " corrcoef " instruction ,which is giving 2*2 matrics .Actually i need to compare 2 correlation coefficients and need to which is bigger one.Can we take the determinant of the 2*2 matrix?.So plz help me. " how to find correlation coefficient of 2 row vectors(answer should be neumerical constant)? "
 

Each 2x2 matrix (C) has the following components:
C(1,1) = autocorrelation vector 1
C(2,2) = autocorrelation vector 2
C(1,2) = C(2,1) = cross correlation

Therefore, the C(1,2) values is what you are looking for.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…