Rename autocorr into dyn_autocorr.m as it does not mirror the behavior of the econometric toolbox function

time-shift
Johannes Pfeifer 2016-05-14 13:23:01 +02:00
parent 1d6961cc4c
commit c7e8489481
2 changed files with 41 additions and 41 deletions

View File

@ -57,7 +57,7 @@ Nc = floor(min(Nc, length(X)/2));
if mod(Nc,2),
Nc=Nc-1;
end
AcorrXSIM = autocorr(X(:), Nc);
AcorrXSIM = dyn_autocorr(X(:), Nc);
%
%Calculate the Parzen Weight
Parzen=zeros(Nc+1,1);