laplace(syms) leads to incorrect answer?
1 view (last 30 days)
Show older comments
This code nicely demonstrates my confusion:
syms t real
f=heaviside(t+1)
laplace(f)
f=heaviside(t-1)
laplace(f)
Producing the output:
f =
heaviside(t + 1)
ans =
1/s
f =
heaviside(t - 1)
ans =
exp(-s)/s
The first laplace should return exp(s)/s, yet matlab transforms as if there is not time shift?
2 Comments
David Wilson
on 20 Apr 2019
Might be somethng to do with the one-sided or two-sided definitions of the Laplace transform.
Answers (0)
See Also
Categories
Find more on Number Theory 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!