pan class="string">'proportion should be within [0 1])'</span>); <span class="keyword">end</span>
0020 
0021 <span class="keyword">if</span> nargout==0;
0022     [idx,n]=<a href="nt_find_outlier_trials.html" class="code" title="function [idx,d]=nt_find_outlier_trials(x,criterion,disp_flag,regress_flag)">nt_find_outlier_trials</a>(x,proportion,mn);
0023     plot(n);
0024     xlabel(<span class="string">'trial'</span>); ylabel(<span class="string">'number clipped'</span>); 
0025     clear idx n
0026     <span