Rename autocorr into dyn_autocorr.m as it does not mirror the behavior of the econometric toolbox function
parent
1d6961cc4c
commit
c7e8489481
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue