Why is the correlation matrix much larger than the original matrix?
2 views (last 30 days)
Show older comments
Ahsan Khan
on 19 Jul 2018
Commented: Walter Roberson
on 19 Jul 2018
Lets say you have a matrix M (10x100). If we do corrcoef(M) the resulting matrix will be 100x100. Why is this?
0 Comments
Accepted Answer
Pawel Jastrzebski
on 19 Jul 2018
Edited: Pawel Jastrzebski
on 19 Jul 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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!