correlation matrix from pairwise correlations of matrices
Show older comments
Hi, I have a set of n-by-n matrices and I would like to do pairwise correlations of all matrices and to get a correlation matrix containing persons r for all pairwise correlations as output. Is there a fast way to do the pairwise correlations for all possible pairs? I was thinking of a for-loop, but I am not sure how to write it.
Thanks
Accepted Answer
More Answers (1)
OH
on 23 Aug 2016
0 votes
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!