MATLAB Answers

Plot transfer function with exponential function

28 views (last 30 days)
Mark S
Mark S on 6 Dec 2020
Commented: Mark S on 6 Dec 2020
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]);

  0 Comments

Sign in to comment.

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)

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 =
4
exp(-1*s) * -------------
s^2 + 4 s + 4

Tags

Community Treasure Hunt

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

Start Hunting!