scipy.signal.StateSpace¶
-
class
scipy.signal.
StateSpace
(*system)[source]¶ Linear Time Invariant system class in state-space form.
Represents the system as the first order differential equation \(\dot{x} = A x + B u\).
Parameters: *system : arguments
The
StateSpace
class can be instantiated with 1 or 4 arguments. The following gives the number of input arguments and their interpretation:- 1:
lti
system: (StateSpace
,TransferFunction
orZerosPolesGain
) - 4: array_like: (A, B, C, D)
See also
TransferFunction
,ZerosPolesGain
,lti
,ss2zpk
,ss2tf
,zpk2sos
Notes
Changing the value of properties that are not part of the
StateSpace
system representation (such aszeros
orpoles
) is very inefficient and may lead to numerical inaccuracies.Attributes
A
State matrix of the StateSpace
system.B
Input matrix of the StateSpace
system.C
Output matrix of the StateSpace
system.D
Feedthrough matrix of the StateSpace
system.den
Denominator of the TransferFunction
system.gain
Gain of the ZerosPolesGain
system.num
Numerator of the TransferFunction
system.poles
Poles of the ZerosPolesGain
system.zeros
Zeros of the ZerosPolesGain
system.Methods
- 1: