GaussDev
The GaussDev function returns a Gaussian random deviate, or random number distributed according to a Gaussian probability density function. The value is obtained from a Normal population having mean 0 and standard deviation 1. To create a table of Gaussian random deviates, use the TGaussDev function.
number = GaussDev()
where
number is a Gaussian Deviate.
The following script creates 3 Gaussian deviates and plots them ordinally:
|
-- create a table with values 1, 2, 3 |
|
-- create table of 3 values |
|
-- plot the tables |
The next script does the same thing using Table Functions:
|
-- plot the tables |