FUNCTION REFERENCE
balreal
Balanced state-space realization.
Balanced state-space realization.
Syntax
sysb = balreal(sys)Syntax
[sysb,g,T,Ti] = balreal(sys)Square-root balancing (Laub et al.) of the stable part: the gramians of sysb are both diag(g). xb = T*x and Ti = inv(T) is formed from the factors without an explicit inverse. Unstable modes are kept unchanged as the first states with g = Inf. The stable part must be minimal (no zero Hankel singular value); otherwise use minreal or balred. 'Offset',alpha moves the stability boundary as in hsvd.
Example
[sysb,g] = balreal(ss([-1 0;1 -2],[1;0],[0 1],0))Example
[sysb,g,T,Ti] = balreal(tf(1,[1 3 2]))Differences from MATLAB: no balredOptions object; the result is always an ss model.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.