MATLAB: How to plot the magnitude and phase response of the transfer function

digital image processingdigital signal processingMATLAB

can someone help me figure this out.Screenshot 2019-12-26 at 12.30.22.png

Best Answer

Try this:
z = tf('z',-1);
H = tf((0.0534*(1+z^-1)*(1-10166*z^-1 + z^-2))/((1-0.683*z^-1)*(1-1.4461*z^-1+0.7957*z^-2)))
H.Variable = 'z^-1'
bode(H)