SciPy

scipy.signal.ss2zpk

scipy.signal.ss2zpk(A, B, C, D, input=0)[source]

State-space representation to zero-pole-gain representation.

Parameters :

A, B, C, D : ndarray

State-space representation of linear system.

input : int, optional

For multiple-input systems, the input to use.

Returns :

z, p : sequence

Zeros and poles.

k : float

System gain.