PLECS 3.7 Online Help

White Noise

Purpose

Generate normally distributed random numbers

Library

Control / Sources

Description

pict

The White Noise block generates normally distributed (Gaussian) random numbers for modeling band-limited white noise. The mean and the standard deviation of the underlying distribution can be configured in the component dialog. The figure below illustrates the distribution for three different sets of parameters.

pict

The seed of the generator initializes the algorithm at the simulation start. For the same seed, the sequence of random numbers is reproduced in every simulation run. If this behavior is undesired the system time can be used as a seed. To minimize correlation effects, it is recommended to use different seeds if multiple random generators are used in one model.

Parameters

Mean μ   
The mean value of the distribution.
Standard deviation σ   
The standard deviation of the distribution.
Seed
The seed used to initialize the White Noise generator.
Sample Time
The sampling period used for generating random output values.

References

Mersenne Twister: http://en.wikipedia.org/wiki/Mersenne_twister
Leva, J. L., "A Fast Normal Random Number Generator", ACM Transactions on Mathematical Software, vol. 18, no. 4, pp. 449-453, 1992.