diff --git a/matlab/@dynSeries/exp.m b/matlab/@dynSeries/exp.m index 744a88477..dce4d513d 100644 --- a/matlab/@dynSeries/exp.m +++ b/matlab/@dynSeries/exp.m @@ -28,7 +28,6 @@ function ts = exp(ts) %@eod: % Copyright (C) 2011 Dynare Team -% stephane DOT adjemian AT univ DASH lemans DOT fr % % This file is part of Dynare. % @@ -45,6 +44,8 @@ function ts = exp(ts) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + if ~isa(ts,'dynSeries') error('dynSeries::exp: Input argument has to be a Dynare time series object!') end diff --git a/matlab/@dynSeries/getName.m b/matlab/@dynSeries/getName.m index 67fdcfabe..f80bd3e41 100644 --- a/matlab/@dynSeries/getName.m +++ b/matlab/@dynSeries/getName.m @@ -1,2 +1,22 @@ function name = getName(ts,i) - name = deblank(ts.name(i,:)); \ No newline at end of file + +% Copyright (C) 2011 Dynare Team +% +% This file is part of Dynare. +% +% Dynare is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Dynare is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Dynare. If not, see . + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + +name = deblank(ts.name(i,:)); \ No newline at end of file diff --git a/matlab/@dynSeries/getTexName.m b/matlab/@dynSeries/getTexName.m index 483ef4e2b..bf6c8df83 100644 --- a/matlab/@dynSeries/getTexName.m +++ b/matlab/@dynSeries/getTexName.m @@ -1,2 +1,22 @@ function texname = getTexName(ts,i) - texname = ['$' deblank(ts.tex(i,:)) '$']; \ No newline at end of file + +% Copyright (C) 2011 Dynare Team +% +% This file is part of Dynare. +% +% Dynare is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Dynare is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Dynare. If not, see . + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + +texname = ['$' deblank(ts.tex(i,:)) '$']; \ No newline at end of file diff --git a/matlab/@dynSeries/log.m b/matlab/@dynSeries/log.m index f79de1377..7be05df47 100644 --- a/matlab/@dynSeries/log.m +++ b/matlab/@dynSeries/log.m @@ -1,5 +1,4 @@ function ts = log(ts) -% Apply the logarithm function to a Dynare time series object. %@info: %! @deftypefn {Function File} {@var{ts} =} log(@var{ts}) @@ -17,10 +16,10 @@ function ts = log(ts) %! @item ts %! Dynare time series object with transformed data field. %! @end table -%! -%! @strong{This function is called by:} +%! +%! @strong{This function is called by:} %! None. -%! +%! %! @strong{This function calls:} %! None. %! @@ -28,8 +27,7 @@ function ts = log(ts) %@eod: % Copyright (C) 2011 Dynare Team -% stephane DOT adjemian AT univ DASH lemans DOT fr -% +% % This file is part of Dynare. % % Dynare is free software: you can redistribute it and/or modify @@ -44,7 +42,9 @@ function ts = log(ts) % % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . - + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + if ~isa(ts,'dynSeries') error('dynSeries::log: Input argument has to be a Dynare time series object!') end