LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CrossCorrelation Calculus, Matlab vs Labview

hello,

I have the following question.
I have one set of signals(131072 samples each) and I want to calculate the crosscorrelation function between them.
If I calculate with Matlab (corr = xcorr(sem0,sem1)), the maximum value of the crosscorrelation is:
max value: 223.6654
index: 130926
If I calculate with Labview and the CrossCorrelation.vi, the maximum value is the same, but the index is different(on the other side of the central point, As if I calculated the correlation between sem1 and sem0. )

So xcorr(sem0,sem1) in Matlab equals CrossCorrelation.vi (between sem1 and sem0)????

I have the signals attached.

Thank you.
0 Kudos
Message 1 of 1
(2,614 Views)