SciPy

scipy.signal.zpk2ss

scipy.signal.zpk2ss(z, p, k)[source]

Zero-pole-gain representation to state-space representation

Parameters:
z, p : sequence

Zeros and poles.

k : float

System gain.

Returns:
A, B, C, D : ndarray

State space representation of the system, in controller canonical form.

Previous topic

scipy.signal.zpk2sos

Next topic

scipy.signal.ss2tf