[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/datafun]

corrcoef

(/tools/hpmatlab/toolbox/matlab/datafun/corrcoef.m)


Function Synopsis

xy = corrcoef(x,y)

Help text

CORRCOEF Correlation coefficients.
	CORRCOEF(X) is a matrix of correlation coefficients formed
	from array X whose each row is an observation, and each
	column is a variable.
	CORRCOEF(X,Y) is the same as CORRCOEF([X Y]).

	If C is the covariance matrix, C = COV(X), then CORRCOEF(X) is
	the matrix whose (i,j)'th element is

	            C(i,j)/SQRT(C(i,i)*C(j,j)).

	See also COV, STD.

Cross-Reference Information

This function calls

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON