view bin/spearman.sh @ 284:e461601592dd

try to do the whole thing in one go
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 07 Mar 2025 21:17:47 +0000
parents 7ffb686ca060
children
line wrap: on
line source

#!/usr/bin/bash
matlab -batch '%' <<EOF
disp("running")
m=load("$1");
[r,p]=corr(m,'Type','Spearman')
disp(r)
disp(p)
EOF