A Random function (
) generates white noise with uniform or normal distribution and has one or more arguments to simulate white noise. Its distribution is either uniform or normal. The default
Function name is
rn1.
To generate a random function of the spatial coordinates x,
y, and
z, for example, use this function with three input variables; it returns the same value each time it is called for a given set of input arguments.
Enter a Number of arguments to the random function (the default is 1). Select a
Distribution method:
Uniform (the default) or
Normal. If
Uniform is selected, enter a
Mean and
Range. The default mean and range is 0 and 1, respectively. The range is the difference between the largest and smallest values that the function can return. If
Normal is selected, enter a
Mean and
Standard deviation. The defaults are 0 and 1, respectively. You can use unit syntax to assign units to these parameters.
If you need to create several random functions that return independent random values, select the Use random seed check box and make sure that the functions have different random seeds in the
Random seed field. By default, different random functions will have different random seeds. The random seed can also be used to do Monte Carlo simulations. Enter a parameter as random seed and let the parameter vary during a parametric sweep.