Calculating Multiple Correlation Coefficients
이전 댓글 표시
I have 16 matrices (35x43), 8 with one type of data (x) and 8 with another (y) each matrix corresponding to a different year (so 2 matrices for each year, one of x data and one of y).
I want to produce a correlation coefficient for x and y in each cell of the matrix e.g 1 correlation coefficient for 1:1, another for 1:2 and so on until I have a full matrix of correlation coefficients.
Matlab newbie, so detail would be appreciated. Thanks in advance for any help!
댓글 수: 1
Star Strider
2014년 10월 9일
I’ve read your question each of the three (or more) times you’ve posted it, and I still can’t figure out what you want to do. That you have 8 pairs of matrices that you somehow want to correlate with each other is the best I can extract from your question, but I have no idea what you want to correlate with what.
Consider the 2 matrices for one year. What do you want to correlate with what? Do you want to correlate each of the 43 corresponding columns of each x and y matrix, or something else?
Create two smaller example (possibly random) matrices and illustrate what you want to do.
Detail would very much be appreciated!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Correlation and Convolution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!