Let's assume that $H(z)$ is given by:
$$H(z) = \frac{1}{1 - 0.5z^{-1} + 0.25z^{-2}}$$
And let's assume that the scaling factor is 2.
To plot the magnitude and phase plots, we can use the `freqz` function in MATLAB. Here's how we can do it:
```matlab
% Define
Show more…