MATLAB Answers

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

3 views (last 30 days)
Kathleen on 26 Mar 2017
Edited: Kathleen on 1 Apr 2017
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)

Community Treasure Hunt

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

Start Hunting!