Spacecraft.SetRandomState(Array, Matrix, String) Method

Top 

Description

Populates the Spacecraft state using a random state from a Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the Spacecraft's ProcessAction settings.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Spacecraft.SetRandomState(

Array meanState,


Matrix covariance,


String covarianceElementSet)

 

 

Arguments

meanState


Description:

The mean state associated with the covariance matrix. The returned states is referenced from the provided mean.

 

 

covariance


Description:

The covariance matrix that describes the Gaussian distribution from which to draw a state.

 

 

covarianceElementSet


Description:

Element set definition of the provided covariance.

Valid Values:

Value

Label

"Cartesian"

Cartesian Elements

"Equinoctial"

Equinoctial Elements

"SGP4Equinoctial"

SGP4Equinoctial Elements

"NoradEquinoctial"

NoradEquinoctial Elements (deprecated, use SGP4Equinoctial instead)

 

 

 

 

Syntax

mySpacecraft1.SetRandomState(myArray1, myMatrix1, myString1);

 

 

See also

Spacecraft Object

Spacecraft.SetRandomState

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide