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

2 次查看(过去 30 天)
Lets say you have a matrix M (10x100). If we do corrcoef(M) the resulting matrix will be 100x100. Why is this?

采纳的回答

Pawel Jastrzebski
Pawel Jastrzebski 2018-7-19
编辑:Pawel Jastrzebski 2018-7-19
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 个评论
Ahsan  Khan
Ahsan  Khan 2018-7-19
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

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by