# Performing Inverse Z Transforms In MatLab® Effectively

You can perform z transforms in Matlab® easily. Also, Matlab® provides a command to perform the inverse z transforms. The command to perform z transforms is the ‘iztrans()’ command.

YOU CAN LEARN MatLab IN MECHANICAL BASE; Click And Start To Learn MatLab!

Here we explain how to perform inverse z transforms in Matlab® with the ‘iztrans()’ command. The programming example below is executed in the Matlab® command window. So you can try it in your own Matlab® software.

On this post

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

``````>> syms x
y = 2*x/(x-2)^2;
iztrans(y)

ans =

2^n + 2^n*(n - 1)

>> ``````

In the example above, first, we created a symbolic variable ‘x’ with the syms command in Matlab®. With this symbolic variable, we write our equation or polynomial, which is ‘y’ above.

Then we wrote the ‘y’ inside the ‘iztrans()’ command above. Hit the ‘Enter’ key then see the result of it in the command window.

## Conclusion

So, performing inverse z transforms in Matlab® with the ‘iztrans()’ command is very simple as you see above.

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

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