[sysb, g] = balreal(sys)
[sysb, g, T, Ti] = balreal(sys)
| Parameter | Description |
|---|---|
| sys | LTI model. |
| Parameter | Description |
|---|---|
| sysb | LTI model. |
| g | Diagonal vector of the balanced Gramian matrix. |
| T | State similarity transform matrix. |
| Ti | State similarity transform inverse matrix. |
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.
sys = ss([-1, 0; 0.1, -3], [1, 0]', [0, 1], 0);
[sysb, g, T, Ti] = balreal(sys)
| Version | Description |
|---|---|
| 1.0.0 | initial version |