Cross-Correlation to obtain lag time and correlation coefficient in different periods
Show older comments
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.
Answers (0)
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!