How to omit certain correlations using CORR on 2 matrices?
1 view (last 30 days)
Show older comments
Hi Everyone,
I have two matrices with the size of 40 (observations) x 68 (variables). I have used corr to plot the correlation matrix between both datasets, yielding a 68 x 68 correlation matrix.
How may I omit correlations between measurements in corresponding variables, or turn the values into NaN? After this, I am using FDR to correct the p values.
Thanks.
2 Comments
Brian Hannan
on 3 Aug 2017
Hi Shane, in order for us to help you with this, can you tell me how you are deciding which correlation values you want to throw out?
Answers (0)
See Also
Categories
Find more on Logical 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!