; 8.75 ; 9.5];
nn = length(outliers);
nbins = 7;

figure;
plotHist(data,nbins,n);
plotPDFs(data);
printPmtkFigure(<span class="string">'robustDemoNoOutliers'</span>)
</pre><img vspace="5" hspace="5" src="robustDemo_01.png" alt=""> <pre class="codeinput">figure;
plotHist(data,nbins,n+nn);
plotHist(outliers,nn,n+nn);
plotPDFs([data ; outliers]);
printPmtkFigure(<span class="string">'robustDemoOutliers'</span>)
</pre><img vspace="5" hspace="5" src="robustDemo_02.png" alt=""> <h2>Bucket the data into nbins, div