% Generate Gaussian distribution with mu and sig
clear all
clf reset
v=[logspace(-2,0.5)];
u=-v(50:-1:1);
u=[u 0 v]';
mu=input('mu = ? ');
sig=input('sig = ? ');
y=mu+sig*u;
P=cumpd(u);
plot(y,P,'k')
Dat=[y P];
save gaussd.dat Dat -ascii
