Plot transfer function with exponential function

53 views (last 30 days)
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]);

Answers (2)

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

Setsuna Yuuki.
Setsuna Yuuki. on 6 Dec 2020
Edited: Setsuna Yuuki. on 6 Dec 2020
You need add inputdelay
sets=tf(4,[1 4 4],'inputdelay',1)
sets =
4
exp(-1*s) * -------------
s^2 + 4 s + 4

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!