Plot transfer function with exponential function

75 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);

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


Community Treasure Hunt

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

Start Hunting!