randNormal

Syntax

randNormal(mean, stdev, count)

Arguments

mean is the mean of a normal distribution.

stdev is the standard deviation of a normal distribution.

count is the number of random values to be generated.

Details

Return a vector of random values with normal distribution.

Examples

randNormal(2.31, 0.671, 2);
// output
[2.805524, 2.148019]