Numerical Inverse Laplace Transform

Numerical approximation of the inverse Laplace transform for use with any function defined in "s".
5.6K Downloads
Updated 4 Jan 2013

View License

This set of functions allows a user to numerically approximate an inverse Laplace transform for any function of "s". The function to convert can be passed in as an argument, along with the desired times at which the function should be evaluated. The output is the response of the system at the requested times.

For instance, consider a ramp function.
f = @(s) 2/s^2;
t = [1 2 3 4 5]';
talbot_inversion(f, t)

The time response output is [2 4 6 8 10], as expected.

These methods can be used on problems of considerably more difficulty as well and are intended to approximate an inverse Laplace transform where an exact solution is unknown.

Two basic solvers (Euler and Talbot) are included, along with *symbolic* versions of those solvers. The symbolic solutions take substantially longer to calculate, but are capable of any desired accuracy. Also, the symbolic versions require the Symbolic Toolbox, whereas the basic versions do not.

Please see example_inversions.pdf or html/example_inversions.html to get started!

Cite As

Tucker McClure (2024). Numerical Inverse Laplace Transform (https://www.mathworks.com/matlabcentral/fileexchange/39035-numerical-inverse-laplace-transform), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Symbolic Math Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0