view bin/spearman.sh @ 37:da1cbcd8acee

push actions in main fn
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 13 Dec 2022 14:16:42 +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