Zero-pole-gain
==============
A transfer function from its zeros, poles and gain: k Π(s − z) / Π(s − p). Roots like -1 or -2+3j.
``zpk`` · control · element by element: vectors in, vectors out
.. raw:: html
Zero-pole-gainfn
zeros
poles-1
gain1
domains
realizesolver
sample_time s0
startzero
solverauto
.. container:: pb-prose
``zeros`` and ``poles`` are lists of complex numbers: ``"-1 -2+3j -2-3j"``.
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``u``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``zeros``
- text
- —
- —
* - ``poles``
- text
- ``"-1"``
- —
* - ``gain``
- number
- ``1.0``
- —
* - ``domain``
- enum
- ``"s"``
- ``s``, ``z``
* - ``realize``
- enum
- ``"solver"``
- ``solver``, ``tustin``
* - ``sample_time``
- number
- ``0.0``
- s
* - ``start``
- enum
- ``"zero"``
- ``zero``, ``steady``
* - ``solver``
- enum
- ``"auto"``
- ``auto``, ``rk4``, ``rk45``, ``rk2``, ``euler``, ``discrete``