Statistics Toolbox
  Go to function:
    Search    Help Desk 
corrcoef    See Also

Correlation coefficients.

Syntax

Description

R = corrcoef(X) returns a matrix of correlation coefficients calculated from an input matrix whose rows are observations and whose columns are variables. The element (i,j) of the matrix R is related to the corresponding element of the covariance matrix C = cov(X) by


See Also

cov, mean, std, var

corrcoef is a function in MATLAB.



[ Previous | Help Desk | Next ]