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.
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.
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.
This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®
Your precious feedbacks are very important to us.
Leave a Reply