view bin/spearman.sh @ 75:177f7df2bf46

handle %-encoded utf-8 as idna
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 09 Aug 2023 02:01:32 +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