This Octave program creates a plot of the normal probability distribution.

```
x=[-4:0.1:4];
plot (x,normpdf(x,0,1));
print -dpng "-S400,400" normal.png
```

The output looks like this:

The 0 is the mean and the 1 is the variance of the normal probability distribution.

Copyright © Ben Bullock 2009-2021. All
rights reserved.
For comments, questions, and corrections, please email
Ben Bullock
(*benkasminbullock@gmail.com*) or use the discussion group at Google Groups. News about the site.
/
Privacy /
Disclaimer