Professional Documents
Culture Documents
Transfer Functions
( )=
G s
( ),
N s
D(s)
of polynomials N(s) and D(s), called the numerator and denominator polynomials, respectively.
You can represent linear systems as transfer functions in polynomial or factorized (zero-pole-gain) form. For
example, the polynomial-form transfer function:
2
( )=s
G s
2
− 3s − 4
s + 5s + 6
( ) = (s + 1)(s − 4) .
G s
(s + 2)(s + 3)
The tf model object represents transfer functions in polynomial form. The zpk model object represents transfer
functions in factorized form.
MIMO transfer functions are arrays of SISO transfer functions. For example:
s − 3
s + 4
( )=
G s
s + 1
s + 2
Command Description
filt Create tf objects representing discrete-time transfer functions using digital signal
processing (DSP) convention.
s
Create the transfer function ( )=
G s
2
:
s + 3s + 2
num = [1 0];
den = [1 3 2];
G = tf(num,den);
num and den are the numerator and denominator polynomial coefficients in descending powers of s. For example,
den = [1 3 2] represents the denominator polynomial s + 3s + 2. 2
https://www.mathworks.com/help/control/ug/transfer-functions.html 1/2
31/10/2019 Transfer Functions - MATLAB & Simulink
G is a tf model object, which is a data container for representing transfer functions in polynomial form.
Tip
Alternatively, you can specify the transfer function G(s) as an expression in s:
s
Create the factored transfer function ( )=5
G s :
(s + 1 + i)(s + 1 − i)(s + 2)
Z = [0];
P = [-1-1i -1+1i -2];
K = 5;
G = zpk(Z,P,K);
Z and P are the zeros and poles (the roots of the numerator and denominator, respectively). K is the gain of the
factored form. For example, G(s) has a real pole at s = –2 and a pair of complex poles at s = –1 ± i. The vector P =
[-1-1i -1+1i -2] specifies these pole locations.
G is a zpk model object, which is a data container for representing transfer functions in zero-pole-gain (factorized)
form.
See Also
filt | tf | zpk
Related Examples
• MIMO Transfer Functions
• State-Space Models
• Discrete-Time Numeric Models
More About
• What Are Model Objects?
• Store and Retrieve Model Data
https://www.mathworks.com/help/control/ug/transfer-functions.html 2/2