Statistics | cov >> |
R = corrcoef(M) |
a vector or matrix
Correlation coefficients of M.
R = corrcoef(M) returns the matrix of correlation coefficients for M, where the columns of M represent random variables and the rows represent observations.
M = [4 -7 3; 1 4 -2; 10 7 9];
R = corrcoef(M)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET