# Why is the correlation matrix much larger than the original matrix?

1 vue (au cours des 30 derniers jours)
Ahsan  Khan le 19 Juil 2018
Commenté : Walter Roberson le 19 Juil 2018
Lets say you have a matrix M (10x100). If we do corrcoef(M) the resulting matrix will be 100x100. Why is this?
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Réponse acceptée

Pawel Jastrzebski le 19 Juil 2018
Modifié(e) : Pawel Jastrzebski le 19 Juil 2018
Have you checked the documentation for the corrcoef function? It explains exactly how the results are obtained:
Especially when you scroll down to the 'More about' section.
Also, looking at the documentation for the plot matrix might help you understand the output of correlation:
##### 2 commentairesAfficher AucuneMasquer Aucune
Ahsan  Khan le 19 Juil 2018
Yes I read through it, I suppose im just confused on how they construct the matrix of correlation coefficients, this might be a math issue rather than coding
Walter Roberson le 19 Juil 2018
Each column is correlated against each other column.

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Correlation and Convolution dans Help Center et File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by