rand

Parent Previous Next

rand

y = rand ( sz )
y = sz.rand ( )

Create an array of random numbers, uniformly distributed between 0 and 1, with the size of sz

arg

type

Description

Unit or Value scale

sz

SCAL

the size of the array to create


Outputs

  • y is an array of random numbers

Notes

Examples

See Also

irand | randperm

Created with the Personal Edition of HelpNDoc: Free help authoring environment