find delay between two curves

9 views (last 30 days)
george
george on 8 Jul 2016
Commented: Angelavtc on 22 Oct 2020
Hi there,
I need to find the delay of two curves. These two curves are very similar (see attached). I thought the matlabe finddelay function should work But the function always give a zero delay between the two curves. What is wrong? I also tried the xcorr function to find the delay, it also gives a zero delay? Any thought? Thanks, George

Answers (1)

Angelavtc
Angelavtc on 22 Oct 2020
It is because your graph is not shifted but it has a different scale with respect to the independent variable, thats why you find no delay and an xcorr of zero.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by