LabVIEW Control Design and Simulation Module

balance_diag (MathScript RT Module Function)

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

balance_diag (MathScript RT Module Function)

Owning Class: ssanals

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

SysBalSS = balance_diag(SysInSS)

SysBalSS = balance_diag(SysInSS, tol)

SysBalSS = balance_diag(SysInSS, tol)

[SysBalSS, T] = balance_diag(SysInSS)

[SysBalSS, T] = balance_diag(SysInSS, tol)

Legacy Name: ssbal

Description

Transforms a state-space system model into a balanced state-space model using a diagonal similarity transformation. This function also returns the transformation matrix this function uses to transform the model.

Examples

Inputs

Name Description
SysInSS Specifies a linear time-invariant (LTI) model in state-space form.
tol Specifies the tolerance for the diagonal transformation. tol limits the ill-conditioning of the transformation matrix T. This function estimates this condition using the ratio of maximum and minimum norms of the eigenvalues of T. The default value of tol is inf. tol is a real scalar.

Outputs

Name Description
SysBalSS Returns the balanced LTI state-space model.
T Returns the transformation matrix this function uses to balance the SysInSS model.

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, 1; -1, 2], [1, 2]', [2, 1], 0)
[SysBalSS, T] = balance_diag(SysIn)

Related Topics

balance_grammian
grammian
mreduce
ss