control.negate¶
-
control.
negate
(sys)¶ Return the negative of a system.
- Parameters
sys (StateSpace, TransferFunction or FRD) –
- Returns
out
- Return type
Notes
This function is a wrapper for the __neg__ function in the StateSpace and TransferFunction classes. The output type is the same as the input type.
Examples
>>> sys2 = negate(sys1) # Same as sys2 = -sys1.