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

タグ

質問済み:

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