step respone, impulse response

1 visualizzazione (ultimi 30 giorni)
raheel butt
raheel butt il 18 Apr 2021
Modificato: Stephan il 18 Apr 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

Risposte (1)

Stephan
Stephan il 18 Apr 2021
Modificato: Stephan il 18 Apr 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)

Categorie

Scopri di più su Dynamic System Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by