The following are an example of a simple code to plot a normal distribution of mean=0 and sd=1
x = [-3:.1:3];
y = normpdf(x,0,1);
plot(x,y)
A number can be randomly drawn from a distribution by the website
https://www.random.org/gaussian-distributions/