irand

Create an integer random number, uniformly distributed in the interval [1, #p1]

Syntax

y = irand ( n )
y = n.irand (  )

Inputs

ArgumentTypeDescriptionUnit
nscalarthe upper limit of the rangen/a

Outputs / Return Value

See Also

Review Status