copyright year and indentation

time-shift
Marco Ratto 2021-02-13 11:29:40 +01:00
parent d56bba724c
commit 915502ce13
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ function xlag = lagged(x, n)
% OUTPUT % OUTPUT
% xlag = backward shifted series % xlag = backward shifted series
% Copyright (C) 2017 Dynare Team % Copyright (C) 2017-2021 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
@ -32,7 +32,7 @@ end
x=x(:); x=x(:);
if n>0 if n>0
xlag=[NaN(n,1); x(1:end-n)]; xlag=[NaN(n,1); x(1:end-n)];
else else
xlag=[x(abs(n)+1:end); NaN(abs(n),1)]; xlag=[x(abs(n)+1:end); NaN(abs(n),1)];
end end