an class="string">off</span>
    <span class="keyword">end</span>

    printPmtkFigure(sprintf(<span class="string">'mixBernoulliMnist%d'</span>, K));
<span class="keyword">end</span>
<span class="keyword">if</span> numel(Kvalues) &gt; 2
    figure();
    plot(Kvalues, bicVal, <span class="string">'-o'</span>, <span class="string">'LineWidth'</span>, 2, <span class="string">'MarkerSize'</span>, 8);
    title(sprintf(<span class="string">'Minimum achieved for K = %d'</span>, Kvalues(minidx(bicVal))));
    pr