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!