Algorithms Index

RandNoise

Authors : Ian Taylor, Bernard Schutz
Input Types : GraphType, Const
Output Types : GraphType, Const
Version: 2.0
Date : 20 June 2000


 

Contents

Description of RandNoise

The unit called RandNoise adds uniformly distributed random numbers to an input data set. The input set can be a GraphType or Const data set. The output is the same type as the input. Random numbers are added to every dependent data set that is of arithmetic type. If the set is complex, random numbers are added to both the real and imaginary parts. Any non-arithmetic data is passed through to the output.

The random numbers are distributed uniformly between bounds that are set by the user in the parameter window. The default range is (0.0, 1.0). The random numbers are calculated by Java's Random class.

The random numbers are added to the input data set. A user who wants a purely random set of numbers can use the Unit Wave with the Intensity parameter set to 0.0 to generate a sequence of zeros as input to RandNoise.
 

Using RandNoise

Users should open the parameter window to set the range of the random numbers. These may be set by moving the sliders or typing numbers in the data-entry box. The parameter window is shown here: