how to find inverse z transform in matlab code example Example: matlab inverse z transform syms z F = 2*z/(z-2)^2; iztrans(F)