interpretation of cross correlation between 2 signals?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohammed Lamine Mekhalfia
am 16 Nov. 2022
Beantwortet: DEBOLEENA SADHUKHAN
am 6 Mär. 2023
Dear Matlab users,
in my way to seek the uncertainty level between two signals.
I performed a cross correlation between the 2 signals and I obtained the folowing plot
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1195308/image.png)
then I performed the dtw function to calculate the distance and it was 720
can I say that the data from the two signals are correlated, and what is the meaning of the value obtained using dtw, and how I can proceed further with uncertainty investigation.
I would highly apreciate your feedback
0 Kommentare
Antworten (1)
DEBOLEENA SADHUKHAN
am 6 Mär. 2023
From the cross-correlation output, you can compute the delay between the two signals by detecting the indices of the maximum correlation
[cor,lag]=xcorr(SIGNAL1,SIGNAL2);
[~,I]=max(cor);
signallag=lag(I)
delay= (length(signal)-signallag)*1/Fs
0 Kommentare
Siehe auch
Kategorien
Mehr zu Waveform Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!