find delay between two curves

4 次查看(过去 30 天)
george
george 2016-7-8
评论: Angelavtc 2020-10-22
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

回答(1 个)

Angelavtc
Angelavtc 2020-10-22
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