control.matlab.minreal
- control.matlab.minreal(sys, tol=None, verbose=True)[source]
Eliminate uncontrollable or unobservable states.
Eliminates uncontrollable or unobservable states in state-space models or canceling pole-zero pairs in transfer functions. The output
sysrhas minimal order and the same response characteristics as the original modelsys.- Parameters:
- sys
StateSpaceorTransferFunction Original system.
- tolreal
Tolerance.
- verbosebool
Print results if True.
- sys
- Returns:
- rsys
StateSpaceorTransferFunction Cleaned model.
- rsys