Filter löschen
Filter löschen

Calculating Multiple Correlation Coefficients

4 Ansichten (letzte 30 Tage)
Robert
Robert am 9 Okt. 2014
Kommentiert: Star Strider am 9 Okt. 2014
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 Kommentar
Star Strider
Star Strider am 9 Okt. 2014
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!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by