How do I get the inverse laplace of this time function?
17 views (last 30 days)
Show older comments
s = tf('s'); % specify a transfer function using a rational function in the Laplace variable s.
sysG1 = 2;
sysG2 = 1/(s^2+2*s);
sysG3 = series(sysG1, sysG2);
sysG4 = 1;
sysCL = feedback(sysG3, sysG4) % feedback(sysG4, sysG6) assumes negative feedback and is equivalent to feedback(sysG5, sysG6, -1)
F = ilaplace(sysCL)
The error comes from the last line saying 'Undefined function 'ilaplace' for input arguments of type 'tf'.'
0 Comments
Accepted Answer
Walter Roberson
on 16 Feb 2020
Use the tf2sym function from https://www.mathworks.com/matlabcentral/fileexchange/10816-ovivero-mimotoolbox
Transfer functions created with tf() are not symbolic, but ilaplace() is only for symbolic expressions. Fortunately someone wrote a conversion routine.
More Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!