Question: how to calculate correlation from covariance matrix?
Answer: Converting a Correlation Matrix to a Covariance Matrix Recall that the ijth element of the correlation matrix is related to the corresponding element of the covariance matrix by the formula Rij = Sij / mij where mij is the product of the standard deviations of the ith and jth variables.