comparison scripts/statistics/base/center.m @ 5428:2a16423e4aa0

[project @ 2005-08-23 18:38:27 by jwe]
author jwe
date Tue, 23 Aug 2005 18:38:28 +0000
parents 4c8a2e4e0717
children 500d884ae373
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
24 ## If @var{x} is a matrix, do the above for each column. 24 ## If @var{x} is a matrix, do the above for each column.
25 ## If the optional argument @var{dim} is given, perform the above 25 ## If the optional argument @var{dim} is given, perform the above
26 ## operation along this dimension 26 ## operation along this dimension
27 ## @end deftypefn 27 ## @end deftypefn
28 28
29 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 29 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
30 ## Description: Center by subtracting means 30 ## Description: Center by subtracting means
31 31
32 function retval = center (x, varargin) 32 function retval = center (x, varargin)
33 33
34 if (nargin != 1 && nargin != 2) 34 if (nargin != 1 && nargin != 2)