Name

var2cor — covariance to correlation

CALLING SEQUENCE

[c]=var2cor(s)

PARAMETERS

Input

• s = (n x n) covariance matrix

Output

• c = (n x n) correlation matrix

DESCRIPTION

Transforms a covariance matrix into a correlation matrix.

AUTHOR

Eric Dubois 2002