Hi,

I have a question concerning xcorr for the case of vector input.

The results of xcorr do not match with the ones suing the straight formula
http://en.wikipedia.org/wiki/Autocorrelation#Estimation

In particular taking the vector
x = rand(4069,1);

xcorr with option 'coeff' and 'biased' show a linear trend that the
mentioned formula doesn't show. I guess this comes from the fact that
the data has nonzero mean value and the formula removes it, while
xcorr doesn't.

Is this the expected behavior?
If it is, we should improve the help text to mention this fact explicitly.

Thanks

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to