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
Walter Roberson
Walter Roberson 2018년 7월 19일
Each column is correlated against each other column.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by