DSPRelated.com
Forums

Autocorrelation versus Cross-correlation

Started by Tao March 14, 2007
Hello,

I am trying to determine the frequency of a signal. Samples of the signal
are taken from 2 channels at a time. After some filtering, I perform the
autocorrelation of each channel, and the cross-correlation of the 2
channels.
 
The autocorrelations, as expected, yield almost identical results, from
which we can easily work out the frequency of the measured signal.
However, the cross-correlation gives a frequency that slightly differs
from that given by the autocorrelation.

I am inclined to give preference to the cross-correlation results, since,
as far as my understanding goes, correlating independent channels takes
advantage of the information contained in each of them, and thus yields
better results in terms of low noise and accuracy.

Which one should I believe? Autocorrelation or cross-correlation?
Thanks for your suggestions,

Tao


On Mar 14, 6:29 am, "Tao" <taorom...@hotmail.com> wrote:
> Hello, > > I am trying to determine the frequency of a signal. Samples of the signal > are taken from 2 channels at a time. After some filtering, I perform the > autocorrelation of each channel, and the cross-correlation of the 2 > channels. > > The autocorrelations, as expected, yield almost identical results, from > which we can easily work out the frequency of the measured signal. > However, the cross-correlation gives a frequency that slightly differs > from that given by the autocorrelation. > > I am inclined to give preference to the cross-correlation results, since, > as far as my understanding goes, correlating independent channels takes > advantage of the information contained in each of them, and thus yields > better results in terms of low noise and accuracy. > > Which one should I believe? Autocorrelation or cross-correlation? > Thanks for your suggestions, > > Tao
Are the two sample clocks the same? John
Hello John,

Yes, they are run by the same clock.

Tao
Hello again,

Actually, the two channels were not synchronized! Sorry for making you
waste time...

Tao