You are on page 1of 3

LAB#7

Q1:-
a)
Simulink:-

Code:-
num1=[500 3500 5000]
dem1=[1 530 3796 5960]
t=tf(num1,dem1)
subplot(3,3,1)
step(t)
num2=[500 3500 5000]
dem2=[1 530 3796 5960 0]
t=tf(num2,dem2)
subplot(3,1,2)
step(t)
num3=[500 3500 5000]
dem3=[1 530 3796 5960 0 0]
t=tf(num3,dem3)
subplot(3,1,3)
step(t)
Table:-
System Type 0
Input Static Error Constants Steady State Error
Step 0.192 0.839
Ramp 0 Infinity
Parabolic 0 Infinity

b)
Simulink:-

Code:-
Table:-
System Type 1
Input Static Error Constants Steady State Error
Step
Ramp
Parabolic

c)
Simulink:-
Code:-
Table:-
System Type 2
Input Static Error Constants Steady State Error
Step
Ramp
Parabolic

You might also like