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

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개)

카테고리

태그

질문:

2014년 10월 9일

댓글:

2014년 10월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by