AnsweredAssumed Answered

Cross Correlation

Question asked by dlh on Jan 19, 2010
Latest reply on Jan 20, 2010 by Yaniv.Sapir

Hey,

 

I am looking to use the cross correlation function to find the delay between two

signals.. I am a bit confused by the output of the function.. The vdsp manual says

 

 

"The signals to be correlated are given by the input vectors samples_x[]

and samples_y[]. The length of the input vectors is given by

sample_length. The functions return the result in the array correlation

with lags elements."

 

What is the correlation array and lags elements? I thought it would just return a shift

size to the maximum correlation between the two signals in samples_x and samples_y?

 

Any help would be great,

 

Thanks.

Outcomes