Skip to content

randselect_i

Randomly select an item at i-rate.

Syntax

iselected randselect_i ival1 [, ival2], [,ival3] ... [ival32]
iselected = randselect_i(ival1 [, ival2], [,ival3] ... [ival32])

Usage

A quick way to get pick a random value from a list of values provided in the input args. Limit is up to 32 inputs.


Outputs and arguments

iselected -- output value selected at random from the inputs.

ival1, ival2... etc -- input values