Time delay between two time series?? using xcorr
Show older comments
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
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.
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!