Plot transfer function with exponential function

109 ビュー (過去 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 Center および File Exchange2-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