Professional Documents
Culture Documents
Uday CI 2
Uday CI 2
EXPERIMENT 2
1
Q1:a . Draw the step response of the first order system: 𝑠+1
:
clc;
close all;
clear all;
n=[1];
d=[1 1];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');
1
b. Draw the step response of the first order system: 4𝑠+1
:
clc;
close all;
clear all;
n=[1];
d=[4 1];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');
1
c. Draw the step response of the first order system: 0.2𝑠+1
:
clc;
close all;
clear all;
n=[1];
d=[0.2 1];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');
25
Q2:a. Draw the step response of the second order system 2 :
𝑠 +10𝑠+25
clc;
close all;
clear all;
n=[25];
d=[1 10 25];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');
25
b. Draw the step response of the second order system 2 :
𝑠 +40𝑠+25
clc;
close all;
clear all;
n=[25];
d=[1 40 25];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');
25
c. Draw the step response of the second order system 2 :
𝑠 +2𝑠+25
clc;
close all;
clear all;
n=[25];
d=[1 2 25];
sys1=tf(n,d);
sys=feedback(sys1,1);
step(sys,'r');