0001 function errors = stderr(coh,ntrial); 0002 0003 rtcoh = sqrt(coh); 0004 errors = sqrt(2)*(ones(size(coh,1),size(coh,2))-coh)./rtcoh; 0005 errors = errors/sqrt(ntrial);