LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cross Correlation vi. How does it work

How does the cross correlation vi. Work?  Is there an effect of amplitude? For example if I have a reference signal that i am passing through as my X That is identical for all correlations but my amplitude on y varies. The signals are similar in shape, so they should be ideal candidates for correlation. I am finding thorough experiments that as my amplitude on y changes so do my results. Why is this and is there a way in software to fix this or do i have to have someone man the controls.
Mark Mutton
Electrical Engineer
0 Kudos
Message 1 of 2
(3,132 Views)
Mark,

The help for the Cross Correlation.vi shows the formula as: R(t) = Integral(x(tau)*y(t+tau)*dt)

Thus, the value is sensitive to the amplitudes.

To get around variations in the y amplitudes, normalize the y array to +/-1 before sending it to the correlation VI.

Lynn
0 Kudos
Message 2 of 2
(3,128 Views)