ay');
        title(sprintf('%1.2f', mixweightK(j)), 'fontsize', 30);
        axis off
    end
    
    printPmtkFigure(sprintf('mixBernoulliMnist%d', K));
end
if numel(Kvalues) > 2
    figure(); 
    plot(Kvalues, bicVal, '-o', 'LineWidth', 2, 'MarkerSize', 8);
    title(sprintf('Minimum achieved for K = %d', Kvalues(minidx(bicVal))));
    printPmtkFigure('MnistBICvsKplot');
end

##### SOURCE END #####
--></body></html>