% % Written by: % -- % John L. Weatherwax 2008-02-20 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- n = 500; x = rand(1,n); % <- draw samples from the uniform distribution [h,stats] = cdfplot(x); axis( [ -0.5 1.5 0, 1.0 ] );