ut"><span class="keyword">end</span>
</pre><p class="footer"><br>
      Published with MATLAB&reg; 7.12<br></p></div><!--
##### SOURCE BEGIN #####
%% Illustrate the robustness of the student and laplace distributions compared to the Gaussian.
%
%%

% This file is from pmtk3.googlecode.com

function robustDemo()

n = 30;
setSeed(8);
data = randn(n,1);
outliers = [8 ; 8.75 ; 9.5];
nn = length(outliers);
nbins = 7;

figure;
plotHist(data,nbins,n);
plotPDFs(data);
printPmtkFigure('robustDemoNoOutliers')
%%
figu