0% found this document useful (0 votes)
6 views1 page

MATLAB Code for Step and Impulse Response

Uploaded by

sunshine heaven
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

MATLAB Code for Step and Impulse Response

Uploaded by

sunshine heaven
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Task 6

(iv) Mat Lab code

s=tf('s');
kb=52;
k1=156;
k2=53;
G1=10/(s+0.01);
G2=G1/(1+kb*G1);
G3=G2*k2*k1;
G4=G3/(G3+1);
%%% Step response of closed loop system**********%%%
step(G4)

figure
%%% Impluse response of closed loop system**********%%%
impulse(G4)

V)

Ans. It Takes 5-6 time constant to reach final value ‘ K’.

You might also like