These examples show how to use the inverse a Z transform.
Problem: Given \[ F\left (z\right ) =\frac {z}{z-1}\] find \(x[n]=F^{-1}\left (z\right )\) which is the inverse Ztransform.
Mathematica
Matlab
Problem: Given \[ F\left ( z\right ) =\frac {5z}{\left ( z-1\right ) ^{2}}\] find \(x[n]=F^{-1}\left ( z\right ) \)
In Mathematica analytical expression of the inverse Z transform can be generated as well as shown below
Mathematica
Matlab