R2009a matlab code for laplace and inverse laplace

2 views (last 30 days)
What is the matlab code to find laplace transform and inverse laplace of certain equation. I am using Matlab version R2009a. the matlab code availab in help file is for Matlab version R2011a. Please help.

Accepted Answer

Paulo Silva
Paulo Silva on 27 Jun 2011
You need the Symbolic Math Toolbox™
Examples on how to use the laplace function:
syms t
f = t^4
laplace(f)
syms s
g = 1/sqrt(s)
laplace(g)
syms t a x
f = exp(-a*t)
laplace(f,x)
Examples on how to use ilaplace
syms s
f = 1/s^2
ilaplace(f)
syms a t
g = 1/(t-a)^2
ilaplace(g)
syms x u
syms a real
f = 1/(u^2-a^2)
simplify(ilaplace(f,x))

More Answers (0)

Community Treasure Hunt

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

Start Hunting!