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

2 ビュー (過去 30 日間)
Ahsan  Khan
Ahsan  Khan 2018 年 7 月 19 日
コメント済み: Walter Roberson 2018 年 7 月 19 日
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
Walter Roberson
Walter Roberson 2018 年 7 月 19 日
Each column is correlated against each other column.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by