Navtej Mishra 19116043: Experiment - 1: Study of Linear-Time-Invariant Open-Loop Systems and Their Representations
Navtej Mishra 19116043: Experiment - 1: Study of Linear-Time-Invariant Open-Loop Systems and Their Representations
19116043
Experiment – 1:
1. Consider an open-loop system with transfer function 𝐺(𝑠) = (𝑠 + 1)(𝑠 + 3)/ (𝑠 + 5)(3𝑠 2 + 4𝑠 + 7)
(a) Write a MATLAB program to determine the poles and zeros of the above system transfer
function. Hence, make a pole-zero plot of the same.
Z=
-3
-1
P=
-5.0000 + 0.0000i
-0.6667 + 1.3744i
-0.6667 - 1.3744i
POLE-ZERO MAP
(b) Obtain the impulse response and the step response of the above system.
step(sys)
impulse(sys)
(c) Determine the output of the system for a ramp input.
t=0:0.1:10
alpha=2
ramp=alpha*t
[y,t]=lsim(sys,ramp,t)
plot(t,y)
2. Implement the above system in Simulink and obtain the impulse response and step response of
the system. Also, obtain the output of the system for a ramp input.
Impulse Response
Step Response
Ramp Response
4. Write a MATLAB program to obtain the transfer function of an LTI system that has two poles
located at −2 and +1, one zero at −1, and gain factor 7. Hence, obtain the responses of the system
for impulse, step and ramp inputs.
syst = zpk([-1],[-2,1],[7])
Impulse Response
impulse(syst)
Step Response
step(syst)
Ramp Response
t=0:0.1:10
alpha=2
ramp=alpha*t
[y,t]=lsim(syst,ramp,t)
plot(t,y)
5. Implement the system in Q. No. 4 above in Simulink and obtain the impulse response and step
response of the system. Also, obtain the output of the system for a ramp input. Hence, compare
your results with that obtained in Q. No. 4 above.
Impulse Response
Step Response
Ramp Response
Hence, compare your results with that obtained in Q. No. 4 above.