matrix correlation

2 次查看(过去 30 天)
salih
salih 2011-2-26
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

回答(1 个)

the cyclist
the cyclist 2011-2-26
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).

Community Treasure Hunt

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

Start Hunting!

Translated by