signal processing - Using MATLAB xcov for autocorrelation -


so xcov(signal) should compute autocorrelation of signal. imagine have 2 signals, s1, s2 followed:

s1: has 100 points of signals, followed 300 points of zeros. s2: has 200 points of same signal s1, followed 600 points of zeros.

since autocorrelation computes convolution of s(t) , s(t-tau), shouldn't autocorrelation of both signals, signal 200 points in middle, followed bunch of zeros on both sides? i.e.

xcov(s1): 300 zeros, followed 200 points of autocorrelation, followed 300 zeros. xcov(s2): 600 zeros, followed 200 points of autocorrelation, followed 600 zeros.

if not, not understanding here? if so, not case in matlab! if increase number of proceeding zeros, while shape of autocorrelation not change, number of lags result non-zero increases.

thanks


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -