필터 지우기
필터 지우기

inverce laplace and ploting data

조회 수: 3 (최근 30일)
ali akyuz
ali akyuz 2020년 5월 16일
댓글: Star Strider 2020년 6월 1일
I need to verify this figure by obtaining poles and c(t) from G(s) and plotting unit step response for each case. But I couldn't go to the inverse laplace. where am i doing wrong ?
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
Ct=ilaplace(Gs)
figure
plot(Ct)
  댓글 수: 2
Rena Berman
Rena Berman 2020년 6월 1일
(Answers Dev) Restored edit
Star Strider
Star Strider 2020년 6월 1일
Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2020년 5월 16일
I believe that what you actually want is:
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
% Ct=ilaplace(Gs)
figure
step(Gs)
since under other circumstances (specifically using the Symbolic Math Toolbox), plotting ilaplace of a symbolic transfer function (using fplot) would return the impulse response. To plot a symbolic step response, you would divide ‘Gs’ by ‘s’, then use fplot.

카테고리

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