You are on page 1of 12

Control Engineering (Pr.

)
MATLAB - Task # 03

Question # 01: (CLO-1, PLO-5, C-3)


Consider the transfer function;

Using MATLAB plot the pole zero map of the above system.
Code Input:
% MATLAB - Task # 01 - Q # 01
num=[0 6 0 1]
den=[1 3 3 7]
H= tf(num,den)
step(H)
impulse(H)
[P,Z]= pzmap(H)
grid on
Output:
Question # 02: (CLO-1, PLO-5, C-3)
Obtain the impulse response for the following system;

and u(t) is a unit step. Determine the solution analytically and verify by co-plotting the
analytical solution and the step response obtained with ‘step’ function.

% MATLAB - TasK # 03 - Q # 02
numer=1
denum=[1 0.2 1]
A=tf(numer,denum)
impulse(A)
step(A)

Output:
Question # 03: (CLO-1, PLO-5, C-3) [5]
A system has a transfer function

Plot the response of the system when R(s) is a unit impulse and unit step for the parameter
z=3, 6 and 12.

Solution:
MATLAB Code Input:

Desired Output:
<<<---------------------------------------------->>>
Control Engineering (Pr.)
MATLAB - Task # 04
From: -ME-6th-’B’
Question # 01: CLO-1, PLO-5, C-3)
For the following multi-loop feedback system, get closed loop transfer function and the
corresponding pole-zero map of the system.

Solution/MATLAB Code:
Desired Output:
<<<-------------------------------------------------------->>>
Control Engineering (Pr.)
MATLAB - Task # 05
From: 47-ME-6th-’B
Question # 05: (CLO-1, PLO-5, C-3)
(a) Given the values of R and C, obtain the unit step response of the first order system.  
R = 2 k Ω  and C = 0.01 F
R = 2.5 k Ω and C = 0.003 F
(b) Verify in each case that the calculated time constant (ɽ  = RC ) and the one measured
from the figure as 63% of the final value are same.
(c) Obtain the steady state value of the system.

Input Code for 1st Order System:

Output: (a) , (b) & (c)


Reference/Alternative Solution:
MATLAB Code
Result/Output: (c) Verification with Steady State value of obtained Curve

<<<------------------------------------------------------->>>

You might also like