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

Uday CI 2

The document describes an experiment using MATLAB to analyze the step responses of first and second order systems. It defines three first order systems with different time constants and draws their step responses. It also defines three second order systems with different damping ratios and natural frequencies and draws their step responses. The experiment allows the student to observe and compare the effects of changing system parameters on step response characteristics.

Uploaded by

Ayush Jaiswal
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 views2 pages

Uday CI 2

The document describes an experiment using MATLAB to analyze the step responses of first and second order systems. It defines three first order systems with different time constants and draws their step responses. It also defines three second order systems with different damping ratios and natural frequencies and draws their step responses. The experiment allows the student to observe and compare the effects of changing system parameters on step response characteristics.

Uploaded by

Ayush Jaiswal
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
You are on page 1/ 2

Uday B3 62

EXPERIMENT 2

Performance of First Order and Second Order System using MATLAB

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');

You might also like