Group: | Random Variables |
See also: | normal randomize |
Function: | uniform | |
Description: | uniform generates arrays up to eight dimensions of pseudo random variables with a standard uniform distribution. |
Usage: | z = uniform (d1 {, .., dn}) | |
Input: | ||
d1, .., dn | scalar (number of elements in dimension 1 .. n) | |
Output: | ||
z | d1 x d2 x ... x dn matrix containing pseudo random variables with a standard uniform distribution |
randomize(0) uniform(2, 3)
Contents of runif [1,] 1.1156e-07 0.12478 0.0035468 [2,] 0.0030269 0.42072 0.23159