MATLAB: How can i plot a impulse response based on z-transfer function or difference equation

control theory

Hey guys,
i have the followeing z-transfer function:
G(z) = z^4 + 2z^3 + 3z^2 / z^4 – 1
I tried to reproduce the impuls response which can be seen in the figure. But i dont know how to do it. I tried a lot but always fail. Can anybody tell me how can i reproduce the impulse response ?

Best Answer

G = tf([1 2 3 0 0],[1 0 0 0 -1],-1);
impulse(G,20)
Related Question