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

cov

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


Function Synopsis

xy = cov(x,y)

Help text

COV	Covariance matrix.
	COV(X), if X is a vector, returns the variance.  For matrices,
	where each row is an observation, and each column a variable,
	COV(X) is the covariance matrix.  DIAG(COV(X)) is a vector of
	variances for each column, and SQRT(DIAG(COV(X))) is a vector
	of standard deviations.   COV(X,Y) is COV([X Y]).  

	See also CORRCOEF, STD.

Cross-Reference Information

This function calls
This function is called by

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