FUNCTION REFERENCE

balred

Reduce model order by balanced truncation or singular perturbation.

Reduce model order by balanced truncation or singular perturbation.

Syntax

rsys = balred(sys,r)

Syntax

rsys = balred(sys,r,opts)

Syntax

rsys = balred(sys,r,'StateElimMethod',method)

Syntax

rsys = balred(sys,r,'Offset',alpha)

method is 'MatchDC' (default, singular perturbation that keeps the DC gain) or 'Truncate'. opts is a struct from balredOptions; its StateProjection field selects the same method. The name/value form 'StateElimMethod',method is also accepted. The stable part is balanced and its weakest states removed; unstable modes are always kept, so r must be at least their number. For the stable part the H-infinity error is at most twice the sum of the discarded Hankel singular values. States with zero Hankel singular value are removed first, so the result may have fewer than r states.

Example

rsys = balred(tf(1,[1 6 11 6]),1)

Example

rsys = balred(ss(diag([-1 -5 -20]),[1;1;1],[1 1 1],0),2,'StateElimMethod','Truncate')

Differences from MATLAB: r must be a scalar (a vector of orders, which returns a model array, is an error); no plot without outputs; opts is a struct and only StateProjection is read from it; 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.