LabVIEW Control Design and Simulation Module

covar (MathScript RT Module Function)

  • Updated2023-03-14
  • 1 minute(s) read

covar (MathScript RT Module Function)

Owning Class: dynchar

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

R = covar(SysIn, Q)

[R, S] = covar(SysIn, Q)

Description

Returns the covariance of the outputs when Gaussian white noise excites the SysIn system model. This function also returns the covariance of the states if the SysIn model is in state-space form.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
Q Specifies the Gaussian white noise intensity matrix if the input model is continuous. If the input model is discrete, Q specifies the Gaussian white noise covariance matrix. Q must be a real matrix that is symmetric and positive semi-definite.

Outputs

Name Description
R Returns the covariance of the outputs when Gaussian white noise excites the SysIn model. R is a real matrix.
S Returns the covariance of the states when Gaussian white noise excites the SysIn model. This function returns S only if SysIn is in state-space form. S is a real matrix.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

SysIn = ss([-1, 0; 1, -2], [1, 0]', [0, 1], 0)
Q = 0.1
[R, S] = covar(SysIn, Q)

Related Topics

dlyapunov
lyapunov