Plot transfer function with exponential function

조회 수: 113 (최근 30일)
Mark S
Mark S 2020년 12월 6일
댓글: Mark S 2020년 12월 6일
Hi, how can I plot this tf in Matlab:
G(s)= 4e^-s/(s^2+4s+4)
I have tried this, but I am not sure if this is ok:
sys = tf([4*exp(-1)],[1 4 4]);

답변 (2개)

Ameer Hamza
Ameer Hamza 2020년 12월 6일
An alternative approach:
s = tf('s');
G = 4*exp(-s)/(s^2+4*s+4);
step(G)

Setsuna Yuuki.
Setsuna Yuuki. 2020년 12월 6일
편집: Setsuna Yuuki. 2020년 12월 6일
You need add inputdelay
sets=tf(4,[1 4 4],'inputdelay',1)
sets =
4
exp(-1*s) * -------------
s^2 + 4 s + 4

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by