Signal\Stochastic
Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.
This model generates uniformly distributed random integers in the range [0, m-1], where m is an integer. All output random variables are independent and identically distributed. With the parameter random seed you can choose to make the distribution variable or fixed for each simulation run.
RandomInteger output with a frequency of 1 Hz and m = 5.
The output signal is limited to a maximum frequency, which can be adjusted (parameter). Values in-between two samples are interpolated (first order hold).
Outputs |
Description |
output |
|
Parameters |
|
seed m frequency |
random seed the output range [0, m-1] frequency band of the output |
seed must be a number in the region <0,65000>.