UniformNoise(Variable, Variable) Function

Top 

Description

Returns a random number with the specified mean and width.

 

Note that this function shares its seed value with FreeFlyer's internal random number generation. This means that even with a set seed value it is possible for this function to generate inconsistent values across Mission Plan executions based on the sequence of events undergone in the Mission Plan.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

UniformNoise(

Variable mean,


Variable width)

 

 

Arguments

mean


Description:

The mean of the distribution.

 

 

width


Description:

The 3-sigma width of the distribution.

Valid Range:

width > 0

 

 

 

Return Value

Type:

number

 

 

A random number with the specified mean and width.

 

Syntax

myVariable1 = UniformNoise(myVariable2, myVariable3);

 

 

Example 1

 

 

See also

UniformNoise