MATLAB: What is the problem with this code ?!!

MATLAB

n=1:20;
syms n z
a = ztrans(3*(-1/4)^n);
subplot(2,1,1)
stem(a)

Best Answer

syms n z
a = ztrans(3*(-1/4)^n);
b=subs(a,1:20)
subplot(2,1,1)
stem(b)
Related Question