Saturday, October 12, 2013

Creating CDF plot.

Generate a CDF plot

close all
y = randn(1,40000);
figure
hist(y,40)
title('Histogram')
% xlimit([-3,3])

  saveas(gcf, ['SAVE/''Histogram-Gaussian', num2str(mm)], 'png')

figure
cdfplot(y)
  saveas(gcf, ['SAVE/''CDF-Gaussian', num2str(mm)], 'png')
        

No comments: