="keyword">for</span> i=1:length(bs)
        [temp outHAL{i}(k)] = <span class="keyword">...</span>
            min(.5*(z(k)-x).^2 + generalizedStudentNeglogpdf(x, a, bs(i)));
    <span class="keyword">end</span>
</pre><h2>NG<a name="6"></a></h2><pre class="codeinput"><span class="comment">    %{
</span><span class="comment">    deltas = [0.01 0.75 1];
</span><span class="comment">    for i=1:length(deltas)
</span><span class="comment">        delta = deltas(i);
</span><span class="comment">        [temp ou