Mercurial > hg > octave-lyh
diff scripts/statistics/base/cor.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 | 38c61cbf086c |
line wrap: on
line diff
--- a/scripts/statistics/base/cor.m +++ b/scripts/statistics/base/cor.m @@ -26,13 +26,13 @@ ## @code{cor (@var{x})} is equivalent to @code{cor (@var{x}, @var{x})}. ## @end deftypefn -## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> -## Description: Compute correlations +## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> +## Description: Compute correlations function retval = cor (x, y) if (nargin < 1 || nargin > 2) - usage ("cor (x [, y])"); + usage ("cor (x, y)"); endif if (nargin == 2)