0% found this document useful (0 votes)
9 views7 pages

Understanding Transfer Functions in Systems

The document discusses transfer functions, which describe the relationship between the input and output of a linear time-invariant system. It provides examples of creating transfer functions using the tf and zpk models, and converting between the two models. Exercises are included to practice these concepts by creating a transfer function and converting its form.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views7 pages

Understanding Transfer Functions in Systems

The document discusses transfer functions, which describe the relationship between the input and output of a linear time-invariant system. It provides examples of creating transfer functions using the tf and zpk models, and converting between the two models. Exercises are included to practice these concepts by creating a transfer function and converting its form.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

LAB-2: Transfer Function

2.1 Transfer function


2.2 Examples
2.3 Exercises
Teacher: Bahaaldeen Mohammed
2.1 Transfer function
 A transfer function is a rational function of a complex variable that
represents a linear time invariant dynamical system with zero initial
conditions.
 It describes the relation between the input and the output of the system.
 Given r(t) to be the input signal with
 Laplace transform R(s) and c(t) the output signal with Laplace transform
C(S), the ratio of the output C(S) to the input R(s) is:

 We call this ratio G(s) a transfer function.


Continue…
 In order to create a transfer function:
1. For transfer Function model: sys = tf(num,den)

2. For zero-pole-gain model: sys = zpk(z,p,k)


K is the gain
 Convert from one model to the zero-pole-gain model and opposite:
 From transfer function model to zero-pole model :
▪ sys_zpk = zpk(sys)
▪ [z,p,k] = tf2zp(num,den)
 From zero-pole model to transfer function model:
▪ [num,den] = zp2tf(z,p,k)
2.2 Examples
 Example 2.2.1. Create the following transfer function using tf(num,den)

and then convert from tf model (polynomial form) to zpk model (factored form)
Solution

num = [1 1];
den = [1 3 1];
sys = tf(num,den) % Create transfer function
sys zpk = zpk(sys) % Convert to zpk model
Continue…
 Example 2.2.2. Create the following transfer function using zpk(z,p,k)

and then convert from zpk model to tf model


Solution

z = -2;
p = [-1 -1 -3];
k = 1;
sys = zpk(z,p,k) % Create zpk model
sys tf = tf(sys) % Convert to tf model
2.3 Exercise
Create the following transfer function by assigning a variable,
as a variable of the transfer function.

Then, convert this transfer function from polynomial form to


factored form.
Thank You!
Q&A

You might also like