Commit 1e87a63a authored by Simone Liuzzo's avatar Simone Liuzzo

more generic size test

parent 03e1db36
function [kgain,lgain]=qempanelgain(measresp,modelresp,kgini,bgini)
ok=isfinite(measresp);
bpmlist=sum(ok,2)>12;
bpmlist=sum(ok,2)>size(measresp,2)-1;
%nok=224-sum(bgini(~bpmlist));
sumgain=sum(bgini(bpmlist));
kgain=kgini;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment