function [out]=gauss_out(mn,st,N);
%defines a random gaussian output of N memebers given a distribution with a
%mean and standard deviation
mn=0;
st=2;

x=mn-5*st:st/50:mn+5*st;
Y=(1/(st*(2*pi)^.5))*exp(-((x-mn).^2)/(2*st^2));
%figure(1); clf;
%plot(x,Y)
%now make the cdf
CDF=cumsum(Y)/sum(Y);
plot(x,CDF)
