SNS Lab12 SP2020
SNS Lab12 SP2020
(EL-223)
LABORATORY MANUAL
(LAB # 12)
VERIFICATION OF LAPLACE TRANSFORM PROPERTIES AND
EFFECT OF POLE LOCATION ON SYSTEM RESPONSE USING MATLAB
Verified by: Dr. Waqas bin Abbas, Dr. Shahzad Updated: Spring 2020
Saleem
Verification of Laplace Transform Properties and Effect of Pole Location on System Response
Using MATLAB Lab 12
1
𝐻(𝑠) =
𝑠+1
lc;close all;clear
% Case-1 Real Pole in the LHP
s=tf('s');
H1=1/(s+1); % First order system having one
pole at s = -1
% Computing and Plotting impulse Response of
the System
[y1,t1] = impulse(H1);
plot(t1,y1,'LineWidth',2)
xlabel('Time(s)');
ylabel('Amplitude')
title('Impulse Response of System when Pole
lies in LHP')
legend('Pole at S = -1');
grid ;
set(gca,'fontweight','bold');
Practice Problems:
Case-2 Pole in the Right Half Plane (RHP)
1
𝐻1 (𝑠) =
𝑠−1
Edit the above given code to plot impulse response of 𝐻1 (𝑠). Your plot should look as
1
𝐻2 (𝑠) =
𝑠
Edit the above given code to plot impulse response of 𝐻2 (𝑠). Your plot should look as