mment">
</span><span class="comment">    for i=1:length(as)
</span><span class="comment">        [temp outNEG{i}(k)]=min(.5*(z(k)-x).^2+normalExpGammaNeglogpdf(x, as(i), bs(i)));
</span><span class="comment">    end
</span><span class="comment">    %}</span>
</pre><pre class="codeinput"><span class="keyword">end</span>
</pre><h2>Plot<a name="8"></a></h2><pre class="codeinput">fs = 14;

[styles, colors, symbols] =  plotColors();
figure();
plot(z, x(outLap), [styles{1}, colors(1)], <span class="string">'linew