step respone, impulse response

조회 수: 24 (최근 30일)
raheel butt
raheel butt 2021년 4월 18일
편집: Stephan 2021년 4월 18일
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

답변 (1개)

Stephan
Stephan 2021년 4월 18일
편집: Stephan 2021년 4월 18일
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)

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by