Check out example codes for "z transfrom mathlab". It will help you in understanding the concepts better.

Code Example 1

syms n
f = sin(n);
ztrans(f)

Learn ReactJs, React Native from akashmittal.com