The correlation matrix of random variables having positive standard
deviations
is the matrix
with entries
It is the standardized covariance matrix. Every correlation matrix is real symmetric, positive semidefinite, and has unit diagonal. Conversely, every real symmetric positive semidefinite matrix with unit diagonal is a correlation matrix.