matrix correlation

Hi,
How can I take correlation of 64x201 dimensional matrix.
xcorr command takes correlation of 1x1 dimensional matrix, right? how can I take multi-dimensional correlation? thank you

Answers (1)

the cyclist
the cyclist on 26 Feb 2011

0 votes

It is not clear to me what you are trying to correlate with what. Is each row of your array a set of observations, and each column a variable? Or vice versa?
Regardless, the command you want is probably "corr" (in the Stats Toolbox) or "corrcoef" (in core MATLAB).

Asked:

on 26 Feb 2011

Community Treasure Hunt

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

Start Hunting!