Hello,
I have the following question.
I have two signals (sem0, sem1; each 131072 samples;) and I need to calculate the cross correlation function between them.
If I use Matlab, I can write Correl = xcorr(sem0,sem1);
This returns a maximum with the value 162.77, and the
index of the maximum point is to the left of the middle of the Correlation Function.
If I use Labview, and the CrossCorrelation.vi (the X pin is connected to sem0, the Y pin is connected to sem1);
This returns a maximum with the same value, 162.77, the i
ndex of this maximum value is to the right of the middle of the Correlation Function.
In other words, for the
same signals and the
same input order , the Correlation functions appear to be mirrored?
If you want to get the same result, must I switch the input order in Labview?
xcorr(sem0,sem1) in Matlab, is CrossCorrelation.vi (X=sem1,Y=sem0) in Labview?
Thank you