rand
Create an array of random numbers, uniformly distributed between 0 and 1, with the size of #p1
Syntax
y = rand ( sz )
y = sz.rand ( )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
sz | scalar | the size of the array to create | n/a |
Outputs / Return Value
y:yis an array of random numbers
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.