Control system Lab 1 (1)
Control system Lab 1 (1)
write a MATLAB program to plot the root locus and find the following specification:
Solution
MATLAB program is
clear all
clc
s=tf('s')
'Gp(s)'%display label
Gp=1/(s^3+5*s^2+4*s)%or Gp=(1/(s*(s+1)*(s+4))create and display
rltool(Gp)
computer response
Using simulink plot the output for k=2, k=20, for the system below
Or
The response For k=2
Command window
>> plot(time,response)
>> grid
The response For k=20
Command window
>> plot(time,response)
>> grid