This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / signal / _filter_design / zpk2tf

function

scipy.signal._filter_design:zpk2tf

source: build-install/usr/lib/python3.14/site-packages/scipy/signal/_filter_design.py:1258

Signature

def zpk2tf(z, p, k)

Summary

Return polynomial transfer function representation from zeros and poles.

Parameters

z : array_like

Zeros of the transfer function.

p : array_like

Poles of the transfer function.

k : float

System gain.

Returns

b : ndarray

Numerator polynomial coefficients.

a : ndarray

Denominator polynomial coefficients.

Examples

Find the polynomial representation of a transfer function H(s) using its 'zpk' (Zero-Pole-Gain) representation. .. math:: H(z) = 5 \frac { (s - 2)(s - 6) } { (s - 1)(s - 8) }
from scipy.signal import zpk2tf
z   = [2,   6]
p   = [1,   8]
k   = 5
✓
zpk2tf(z, p, k)
✗
(array([  5., -40.,  60.]), array([ 1, -9,  8]))

Aliases

  • scipy.signal.zpk2tf