It's possible to calculate correlation coeficient (corrcoef) to a matrix (6X4)
3 views (last 30 days)
Show older comments
It's possible to calculate correlation coeficient (corrcoef) to a matrix non-square, e.g. (6X4)?
0 Comments
Accepted Answer
the cyclist
on 29 Sep 2011
Yes.
>> r = corrcoef(rand(6,4))
Each of the 6 rows is an observation of 4 variables, and "r" will be the correlation matrix of those 4 variables.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!