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