laplace
Laplace transform
Description
returns the Laplace Transform of
F
= laplace(f
)f
. By default, the independent variable is
t
and the transformation variable is
s
.
Examples
Input Arguments
More About
Tips
If any argument is an array, then
laplace
acts element-wise on all elements of the array.If the first argument contains a symbolic function, then the second argument must be a scalar.
To compute the inverse Laplace transform, use
ilaplace
.
Algorithms
The Laplace transform is defined as a unilateral or one-sided transform. This definition assumes that the signal f(t) is only defined for all real numbers t ≥ 0, or f(t) = 0 for t < 0. Therefore, for a generalized signal with f(t) ≠ 0 for t < 0, the Laplace transform of f(t) gives the same result as if f(t) is multiplied by a Heaviside step function.
For example, both of these code blocks:
syms t;
laplace(sin(t))
and
syms t;
laplace(sin(t)*heaviside(t))
return 1/(s^2 + 1)
.
Version History
Introduced before R2006a