for i=1:1000 x(i)=myexprand(1.0); end; y=histogram(x) plot(y(1,:),y(2,:));