Y1 = rand(10000,1);
Y2 = randn(10000,1);
X2 = min(Y2):(max(Y2)-min(Y2))/30:max(Y2);
figure(1)
subplot(1,2,1)
hist(Y1,30)
axis square;
subplot(1,2,2)
hist(Y2,X2)
axis square;




