Cross-Correlation to obtain lag time and correlation coefficient in different periods

Dear Colleagues, I have written code that produces a graph giving the xcorr coeff of two signals: s1 and s2. % x=(s1); y=(s2); [c,lags]=xcorr(x,y,'coeff'); My question is how to write code to obtain this figure :
Please help. Kind regards.

Antworten (0)

Gefragt:

am 26 Mär. 2017

Bearbeitet:

am 1 Apr. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by