Clear Filters
Clear Filters

how to find Laplace transform of u(-t) in MATLAB?

5 views (last 30 days)
To find LT of u(-t) I am trying the following code
f = heaviside(-t)
x = laplace(f)
However I am always getting 0 as output.

Accepted Answer

Paul on 24 Feb 2024
Edited: Paul on 24 Feb 2024
Hi Sundaram,
The function laplace implements the unilateral Laplace transform for causal signals. However, heaviside(-t) is non-causal, so presumably you want the bilateral Laplace transform.
For this problem, you can compute the bilateral Laplace trasform by combining laplace and subs using the time reversal property of the Laplace transform.
Or, you can compute the bilateral Laplace transfrorm using int to compute the bilateral Laplace transform via its defining integral. You will have to use assume to properly define the region-of-convergence to yield the expected result.

More Answers (0)


Find more on Mathematics and Optimization 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!