Week11 Quiz Question 5 Solution
Suppose the transfer function of the filter has the form
$ H_f(z)=(1-z_1 z^{-1})(1-z_2 z^{-1}) $
Where $ z_1,z_2 $ are zeros of the filter.
In order for the filter's impulse response to be real-valued, the two zeros must be complex conjugates of one another:
Assume $ z_1=re^{j\theta},z_2=re^{-j\theta} $, where $ \theta $ is the angle of $ z_1 $ relative to the positive real axis. Without losing generality, assume $ \theta \in [0,\pi] $. Then
$ \begin{align} H_f(z)&=(1-re^{j\theta}z^{-1})(1-re^{-j\theta}z^{-1}) \\ &=1-2rcos\theta z^{-1}+r^2z^{-2} \end{align} $
Then the frequency response of the filter is
$ H(e^{j\omega})=H_f(z)|_{z=e^{j\omega}}=1-2rcos\theta e^{-j\omega}+r^2e^{-2j\omega} $
Since the constant input gain is 1, therefore
$ H(e^{j\omega})|_{\omega =0}=1-2rcos\theta +r^2=1 $(*)
Since the filter has a zero frequency response at $ \omega =\frac{\pi}{}2 $
$ H(e^{j\omega})|_{\omega =\frac{\pi}{2}}=1-2rcos\theta(-j)+r^2(-1)=0 $(**)