This is documentation for an old release of SciPy (version 1.7.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.signal.zpk2ss

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

Zero-pole-gain representation to state-space representation

Parameters
z, psequence

Zeros and poles.

kfloat

System gain.

Returns
A, B, C, Dndarray

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