Mercurial > hg > cc > cirrus_work
view bin/spearman.sh @ 28:7ffb686ca060
Spearman for matlab
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 16 Nov 2022 17:29:55 +0000 |
parents | |
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