Create a transfer function from zeros, poles, gain.
Given a list of zeros z_i, poles p_j, and gain k, return the transfer function:
Array containing the location of zeros.
Array containing the location of poles.
System gain.
System timebase. 0 (default) indicates continuous time, True indicates discrete time with unspecified sampling time, positive number is discrete time with specified sampling time, None indicates unspecified timebase (either continuous or discrete time).
List of strings that name the individual signals. If this parameter is not given or given as None, the signal names will be of the form ‘s[i]’ (where ‘s’ is one of ‘u’, ‘y’, or ‘x’). See InputOutputSystem
for more information.
System name (used for specifying signals). If unspecified, a generic name ‘sys[id]’ is generated with a unique integer id.
Set the display format used in printing the TransferFunction
object. Default behavior is polynomial display and can be changed by changing config.defaults['xferfcn.display_format']
.
TransferFunction
Transfer function with given zeros, poles, and gain.
Examples
>>> G = ct.zpk([1], [2, 3], gain=1, display_format='zpk') >>> print(G)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4