find delay between two curves

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 日

0 投票

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.

質問済み:

2016 年 7 月 8 日

コメント済み:

2020 年 10 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by