step respone, impulse response

2 visualizaciones (últimos 30 días)
raheel butt
raheel butt el 18 de Abr. de 2021
Editada: Stephan el 18 de Abr. de 2021
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**********%%%
t=0:0.1:10;
%%% Impluse response of closed loop system**********%%%
t=0:0.1:10;
impulse(G4)
impulse response is shown but i want step response result as well .kindly tell me command to write step resone

Respuestas (1)

Stephan
Stephan el 18 de Abr. de 2021
Editada: Stephan el 18 de Abr. de 2021
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);
subplot(2,1,1)
impulse(G4)
subplot(2,1,2)
step(G4)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by