Covariance - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

DynamicSystems

  

Covariance

  

compute the output and state covariance of a linear system driven by white Gaussian noise inputs

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Covariance(sys, Rw)

Covariance(sys, Rw, opts)

Parameters

sys

-

System; system object

Rw

-

Matrix; white Gaussian noise inputs intensities.

opts

-

(optional) equation(s) of the form option = value; specify options for the Covariance command

Options

• 

output = outcovar or statecovar or list of these names.

Specifies the returned values. By default, only the output covariance Matrix is returned. The state covariance Matrix is returned when sys is given in the state-space form. Otherwise, an empty Matrix is returned.

• 

checkstability = truefalse

True means check whether the system is stable; if it is not stable, an error occurs. False means skip the check. The default is true.

Description

• 

The Covariance command computes the steady-state output and state covariance of a linear system sys driven by white Gaussian noise inputs. In state-space form, this system is represented as:

  

  

  

where: , , , and , and , , and  are the number of states, inputs and outputs of the linear system respectively.

  

The input disturbances  are zero-mean white Gaussian noise inputs with spectral densities or intensities . In other words, the expected value of  is  and its covariance matrix is  where  is the Dirac delta function. In the scalar case,  or variance of the random process.

• 

The steady-state covariance matrix of the state  is . The state covariance matrix computed value is returned when sys is in the state-space form.

• 

The steady-state covariance matrix of the output  is . The output covariance Matrix is returned for any sys type.

• 

The covariance matrices are computed by solving the following equations:

Continuous-time system

  

  (continuous Lyapunov equation)

  

Discrete-time system

  

  (discrete Lyapunov equation)

  

• 

The Lyapunov equation approach to finding the steady-state covariance matrices is based on the assumption that the system is stable. For unstable systems,  and  are infinite.

Examples

Example 1 : Find the covariance matrices of a system with discrete-time transfer function shown below, whose input is a Gaussian white process with spectral density Rw = 5.

(1)

For a system with a single input, the dimension of the Matrix Rw is 1x1.

(2)

By default, the output covariance Matrix Py is returned if no output option is specified.

(3)

Return the state covariance Matrix Px (expected empty for TF)

(4)

Example 2 : Find the steady-state output covariance matrix of a continuous state-space system driven by a Gaussian white process with intensity Rw = 2.

(5)

For a system with a single input, the Rw Matrix has 1x1 dimensions.

(6)

Return the output covariance Matrix Py.

(7)

Return a list of the output and state covariance Matrices [Py, Px]

(8)

Compatibility

• 

The DynamicSystems[Covariance] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

DynamicSystems

DynamicSystems[Grammians]

DynamicSystems[NormH2]

LinearAlgebra[LyapunovSolve]

LinearAlgebra[SylvesterSolve]

 


Download Help Document