Clear Filters
Clear Filters

Time delay between two time series?? using xcorr

2 views (last 30 days)
I estimated cross correlation between two monthly time series like: [xc,lag]=xcorr(y1,y2) [mx,mind]=max(abs(xc)); delay =lag(mind); I got the value as 1 what does it meaning i want the lag in time unit how to get..please help
  1 Comment
Ryan Rolick
Ryan Rolick on 11 Jan 2017
I believe this would be based on what your measurement frequency is. For instance, if it was measured every 15 minutes, then a lag of 1 would be a lag of 15 minutes.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!