Mercurial > hg > octave-nkf
diff scripts/statistics/base/studentize.m @ 3456:434790acb067
[project @ 2000-01-19 06:58:51 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 06:59:23 +0000 |
parents | 71d2e09c15a2 |
children | d25bc039237b |
line wrap: on
line diff
--- a/scripts/statistics/base/studentize.m +++ b/scripts/statistics/base/studentize.m @@ -22,8 +22,8 @@ ## If @var{x} is a matrix, do the above for each column. ## @end deftypefn -## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> -## Description: Subtract mean and divide by standard deviation +## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> +## Description: Subtract mean and divide by standard deviation function t = studentize (x) @@ -42,7 +42,7 @@ t = x - l * mean (x); t = t ./ (l * max ([(std (t)); (! any (t))])); else - error ("studentize: x must be a vector or a matrix."); + error ("studentize: x must be a vector or a matrix."); endif endfunction \ No newline at end of file