nengolib.signal.modred¶
-
nengolib.signal.
modred
(sys, keep_states, method='del')[source]¶ Reduces model order by eliminating a subset of states.
Parameters: - sys :
linear_system_like
Linear system representation.
- keep_states :
array_like
Subset of dimensions (integer indices between
0
andlen(sys)-1
, inclusive) to keep.- method :
string
, optional Defaults to
'del'
. Must be one of:'del'
: Delete the states entirely.'dc'
: Transform the remaining states to maintain the same DC gain. [1]
Returns: - reduced_sys :
LinearSystem
Reduced linear system in state-space form.
See also
References
[1] http://www.mathworks.com/help/control/ref/modred.html Examples
See Linear System Model Reduction for a notebook example.
- sys :