view bin/spearman.sh @ 369:710aca6b07e4 plus

fix file type coding bug
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 10 Apr 2026 16:02:09 +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