I'm trying to input this transfer function in matlab, but I can't figure out how because it has both positive and negative exponents.
If I do H = tf([1],[1 1 1 1],0.1,'variable','z^-1')
I almost get it, but I can't figure out how to add the positive z
to the bottom. I'm trying to use this H
to plot the poles and zeros with pzmap(H)
.
tf
before, but can't you simplify your transfer function and useH(z) = 1 / (z^-1 + 1 + z^-2 + z^-3 + z^-4)
instead? – Prakhar