view bin/spearman.sh @ 159:ebff60e85c59

now does one named segment only
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 24 Oct 2023 16:59:23 +0100
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