# Calculating Inverse Laplace Transforms In MatLab®

Laplace transforms are very useful tools to solve hard differential equations easily. But it includes burdening application steps with hand. You can easily perform Laplace transforms in Matlab®.

Also, you can perform inverse Laplace transforms in Matlab® easily. You can do this with the ‘ilaplace()’ command in Matlab®.

Here, we will show you how to calculate the inverse laplace transforms in Matlab® with the ‘ilaplace()’ command, with a very basic example below. Codes are executed in the Matlab® command window. So you can try this code in your software.

## How To Use ‘ilaplace()’ Command In MatLab®?

``````>> syms x y
t = 1/(x^2-y^2)
ilaplace(t)

t =

1/(x^2 - y^2)

ans =

exp(t*y)/(2*y) - exp(-t*y)/(2*y)

>> ``````

As you see in the code above, we created two symbolic variables with the syms command in Matlab®. With these variables, we created our function that is created with Laplace transforms, ‘t’.

If you write this function inside the ‘ilaplace()’ command, you will see the inverse laplace transformation of it in the command window.

You can also assign the ‘ilaplace()’ command to a variable to use it in other calculations or codes in Matlab®.

## Conclusion

As you see above, the use of the ‘ilaplace()’ command is very simple in Matlab® to perform inverse laplace transforms.

Do not forget to leave your comments and questions below about the ‘ilaplace()’ command in Matlab® below.

If you want further coding examples about the ‘ilaplace()’ command in Matlab®, inform us in the comments.