MATLAB: R2009a matlab code for laplace and inverse laplace

r2009a matlab code for laplace and inverse laplace

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.

Best Answer

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))