Demo entry 6662243

matlab

   

Submitted by wang on Nov 25, 2017 at 13:09
Language: Matlab. Code size: 141 Bytes.

data = csvread('datExpr1.csv');
[r,p] = corrcoef(data);  % Compute sample correlation and p-values.
r = abs(r);
csvwrite('datExpre.csv',r)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).