randUniform

Syntax

randUniform(lower, upper, count)

Arguments

lower and upper are numeric scalars indicating the lower bound and upper bound of a continuous uniform distribution.

count is the number of random values to be generated.

Details

Return a vector of random values with continuous uniform distribution.

Examples

$ randUniform(0.61, 2.31, 2);

[2.064851, 2.263172]