Random will output random values with a linear probability distribution between the specified lower and upper limits.
Parameter | Description |
---|---|
Lower Limit | Random value outputs will not go below this setting |
Upper Limit | Random value outputs will not go above this setting |
Example Usage as an Expression:
Random(0,1) - Returns random value s that vary between 0 and 1.
Random(-4.2,15.8) - Returns random values that vary between -4.2 and 15.8.
Example Reference Chart:
The following example shows Random(0,1) overlaid with indicators of the high, low, and mean values. A distribution from 0 to 1 has a highest value near 1, lowest value near 0, and a mean near the middle point between the bounds, which in this case is 0.5.
The example below shows random noise being added to a tank level, and then smoothed out afterwards. This illustrates that Random can be added to signals, and fed as input to other functions.
For information on setting up custom equations and syntax, please refer to Analytical Functions.