(end,:))./(1-exp(k(1,:)))&lt;opts.tol*size(x,1)*max(x,[],1)).*(sum(abs(dn*k-test),1)&lt;opts.tol_*opts.sample).*(exp(k(1,:))&lt;1)));</span>
            <span class="keyword">else</span>
                ids = false(1,size(x,2));
            <span class="keyword">end</span>
        <span class="keyword">else</span>
            ids=[];
        <span class="keyword">end</span>
    <span class="keyword">else</span>
        ids = [];
    <span class="keyword">end</span>
</pre><h2 id="11">If one of the nnls-sub-p