Plotting inverse laplace w.r.t.
2 views (last 30 days)
Show older comments
How can I plot inverse laplace of a fucntion which contains exponential and hyperbolic functions on Matlab? like
(0.2696)/(s-0.1384*(s^1)*((exp(1.2468*s)+exp(-1.2468*s))/((exp(1.2468*s)-exp(-1.2468*s)))))
0 Comments
Answers (1)
Vishnu Vardhan
on 21 Jun 2019
Hi Yash
You can use ilaplace function to compute the inverse laplace of H as shown below.
h=matlabFunction(ilaplace(H));
t=1:0.01:100;
plot(t,h(t))
2 Comments
Vishnu Vardhan
on 21 Jun 2019
From the documentation page it looks like the inputs can be symbolic expression | symbolic function | symbolic vector | symbolic matrix and also given that if it cannot compute the inverse then it returns an unevaluated call to ilaplace.Hence you are observing that results.
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!