Mercurial > hg > octave-lyh
comparison scripts/statistics/base/cor.m @ 4855:d62c421f448b
[project @ 2004-04-07 02:41:22 by jwe]
author | jwe |
---|---|
date | Wed, 07 Apr 2004 02:41:22 +0000 |
parents | 38c61cbf086c |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
4854:4b0f3b055331 | 4855:d62c421f448b |
---|---|
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} cor (@var{x}, @var{y}) | 21 ## @deftypefn {Function File} {} cor (@var{x}, @var{y}) |
22 ## The (@var{i},@var{j})-th entry of @code{cor (@var{x}, @var{y})} is | 22 ## The (@var{i}, @var{j})-th entry of @code{cor (@var{x}, @var{y})} is |
23 ## the correlation between the @var{i}-th variable in @var{x} and the | 23 ## the correlation between the @var{i}-th variable in @var{x} and the |
24 ## @var{j}-th variable in @var{y}. | 24 ## @var{j}-th variable in @var{y}. |
25 ## | 25 ## |
26 ## For matrices, each row is an observation and each column a variable; | 26 ## For matrices, each row is an observation and each column a variable; |
27 ## vectors are always observations and may be row or column vectors. | 27 ## vectors are always observations and may be row or column vectors. |