balreal
Gramian-based balancing of state-space realizations.
📝Syntax
[sysb, g] = balreal(sys)
[sysb, g, T, Ti] = balreal(sys)
📥Input Arguments
Parameter Description
sys LTI model.
📤Output Arguments
Parameter Description
sysb LTI model.
g Diagonal vector of the balanced Gramian matrix.
T State similarity transform matrix.
Ti State similarity transform inverse matrix.
📄Description

balreal(sys) calculates a balanced realization, denoted as sysb, for the stable segment of the linear time-invariant (LTI) model sys.

This process is applicable to both continuous and discrete systems. If sys is not initially in state-space form, the function automatically converts it to state space using ss before proceeding with the balanced realization.

💡Examples
sys = ss([-1, 0; 0.1, -3], [1, 0]', [0, 1], 0);
[sysb, g, T, Ti] = balreal(sys)
🔗See Also
gram
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub