Time delay between two time series?? using xcorr

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

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)

Asked:

on 15 Oct 2014

Commented:

on 11 Jan 2017

Community Treasure Hunt

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

Start Hunting!