ssbal (Control Design and Simulation Module, MathScript Function)
Member of the ssanals class.
Syntax
[SysBalSS, T] = ssbal(SysInSS)
[SysBalSS, T] = ssbal(SysInSS, tol)
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.
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. |
Examples
SysIn = ss([1, 1; -1, 2], [1, 2]', [2, 1], 0)[SysBalSS, T] = ssbal(SysIn)