abhigopal
Member level 3
related:www.rocksolidimages.com/pdf/semblance.pdf
Hi all
My problem is kinda weird. I have two arrays of numbers and I want a pairwise correlation between these two numbers. I use MATLAB 7.0's inbuilt function namely corr.m .. My problem is tht one of these arrays has only real numbers and the other one has only complex numbers. Both these arrays are of equal length.
When I compute the correlation, I get a complex number as my answer. I take the absolute value of the answer and My answer turns out to be greater than 1. But the correlation coeff always has a value between -1 and +1. I also typed out a code for computing the correlation coefficient and ended up with the same result.
Does anyone have any explanations on why this is happening.??
Please help
Thanks in advance
Abhishek
P.S- Moderators, I could not find an appropriate forum for postin this message. If required, please move it to an appropriate forum.. Thanks
Hi all
My problem is kinda weird. I have two arrays of numbers and I want a pairwise correlation between these two numbers. I use MATLAB 7.0's inbuilt function namely corr.m .. My problem is tht one of these arrays has only real numbers and the other one has only complex numbers. Both these arrays are of equal length.
When I compute the correlation, I get a complex number as my answer. I take the absolute value of the answer and My answer turns out to be greater than 1. But the correlation coeff always has a value between -1 and +1. I also typed out a code for computing the correlation coefficient and ended up with the same result.
Does anyone have any explanations on why this is happening.??
Please help
Thanks in advance
Abhishek
P.S- Moderators, I could not find an appropriate forum for postin this message. If required, please move it to an appropriate forum.. Thanks