corr on 2 matrices

6 views (last 30 days)
Shane S
Shane S on 2 Aug 2017
Commented: jean claude on 2 Dec 2017
Hi Everyone,
I have performed corr on 2 matrices. How can I omit the correlations that are between the same variables? corr(A,B).
A and B are 25 (subjects) x 100 (variables) each.
Thanks.
  4 Comments
ANKUR KUMAR
ANKUR KUMAR on 2 Dec 2017
Use corr2(a,b) to get directly the correlation value.
jean claude
jean claude on 2 Dec 2017
i didn't know it exists cool so i think the problem is solved

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!