Im trying to cross correlate two signals in matlab and get the phase difference between the signals.
For cross correlation (the idea is to do it without xcorr) I used:
Cxx=fftshift(ifft(fft(x,N).*conj(fft(y,N))))/(norm(x) * norm(y));
I get the result and not sure about the reference point I have to take for phase calculation Now which point should I take as zero on time scale and how do I get the phase difference from this result.
Thanks.
No comments:
Post a Comment