ACF_b - Perform the biaised AutoCorrelation Function of a time series x
Perform the biaised AutoCorrelation Function (ACF) of a time series x. x is the signal with length N. ACF(k)=1/(N)*sum[k=0:N-k-1]x(k)x(k-n).
x=read('./demos/fgn',-1,1); ACF=ACF_b(x); scf; subplot(2,1,1);plot(x);xtitle('x'); subplot(2,1,2);plot(ACF);xtitle('biaised ACF');