Rewrote header.

time-shift
Stéphane Adjemian (Charybdis) 2018-01-24 15:59:47 +01:00
parent 145f1e7b1c
commit e6cc7d6a7f
1 changed files with 8 additions and 27 deletions

View File

@ -1,33 +1,14 @@
function c = demean(x)
% Removes the mean of each column of a matrix.
%
% INPUTS
% - x [double] T*N matrix of data.
%
% OUTPUTS
% - c [double] T*N matrix of demeaned data.
%@info:
%! @deftypefn {Function File} {@var{c} =} demean (@var{x})
%! @anchor{demean}
%! This function removes the mean of each column of a matrix.
%!
%! @strong{Inputs}
%! @table @var
%! @item x
%! Matlab matrix (T-by-N).
%! @end table
%!
%! @strong{Outputs}
%! @table @var
%! @item c
%! Matlab matrix (T-by-N). The demeaned x matrix.
%! @end table
%!
%! @strong{This function is called by:}
%! @ref{compute_cova}, @ref{compute_acov}, @ref{compute_std}.
%!
%! @strong{This function calls:}
%! @ref{ndim},
%!
%! @end deftypefn
%@eod:
% Copyright (C) 2011-2017 Dynare Team
% Copyright (C) 2011-2018 Dynare Team
%
% This file is part of Dynare.
%