<< tdis_rnd Supplementary distibution functions wish_rnd >>

Grocer >> Supplementary distibution functions > unif_rnd

unif_rnd

Uniform random draws

CALLING SEQUENCE

[rnd]=unif_rnd(n,a,b)

PARAMETERS

Input

* a = scalar left limit

* b = scalar right limit

* n = number of draws (default = 1)

 

Output

* rnd = (n x 1) draws from the normal distribution

DESCRIPTION

Returns a uniform random number between a,b.

EXAMPLE

x=unif_rnd(100,2,8)

AUTHOR

Eric Dubois 2002

Report an issue
<< tdis_rnd Supplementary distibution functions wish_rnd >>