FUNCTION REFERENCE
modred
Eliminate chosen states of a state-space model.
Eliminate chosen states of a state-space model.
Syntax
rsys = modred(sys,elim)Syntax
rsys = modred(sys,elim,method)elim lists state indices or is a logical vector of length order(sys). method 'MatchDC' (default) sets the derivatives (continuous) or increments (discrete) of the eliminated states to zero, which keeps the DC gain; 'Truncate' deletes them. The remaining states keep their order. A singular eliminated block is an error for 'MatchDC'. 'mdc' and 'del' are accepted as older names.
Example
rsys = modred(ss(diag([-1 -10]),[1;1],[1 1],0),2)Example
rsys = modred(ss(diag([-1 -10]),[1;1],[1 1],0),[false true],'Truncate')Differences from MATLAB: 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.