view bin/spearman.sh @ 57:61b0a1582af8

works with all types, part=1
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 12 Jul 2023 18:48:27 +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