view bin/spearman.sh @ 307:c2b93789b292 trim

replace xargs with an explicit serial loop plus wait
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 18 May 2025 13:08:04 +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