I want to find a cross correlation between to signals both with size 1000. When I use the Matlab function xcorr() I get a vector back with length 1999. What does this length mean? Does it mean that the delay is from 0 to 1999 or something else?
Thank you very much.
As explained on xcorr webpage http://www.mathworks.nl/help/signal/ref/xcorr.html?searchHighlight=xcorr,
In your dataset, maxlag=1000. You can output the lag values using