view bin/spearman.sh @ 277:018866252464 default tip

push value printing into C, other tweaks to try to speed up, no joy
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 19 Feb 2025 17:49:31 +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