Consider the following Constant Coefficient Difference Equation (CCDE) given below
$$y[n] - \frac{1}{2}y[n-1] = 2x[n] - 5x[n-1] - x[n-2]$$
Let $H(e^{j\omega})$ denote the transfer function of this system. What is $H(e^{j\pi})$?
Consider the following Constant Coefficient Difference Equation (CCDE) given below
$$y[n] - \frac{1}{2}y[n-1] = 2x[n] - 5x[n-1] - x[n-2]$$
Let $H(e^{j\omega})$ denote the transfer function of this system. What is $H(e^{j\pi})$?
You need to follow the following steps (reponses at each steps are in a spoiler block, try to find them by yourself before checking). I will use the usual notation $z=e^{j w}$ for simplicity.
$H(z) = \dfrac{Y(z)}{X(z)}$
$Y(z) - \frac{1}{2} z^{-1} Y(z) = 2 X(z) - 5 z^{-1} X(z) - z^{-2} X(z)$
$H(z) = \dfrac{2 - 5z^{-1} - z^{-2}}{1-\frac{1}{2} z^{-1}}$
$H(e^{j \pi}) = \dfrac{2 + 5 - 1}{1+\frac{1}{2}} = \dfrac{6}{\frac{3}{2}} = 4$
This last result mean that your filter, at Nyquist frequency, has
no phase delay and a gain of 4.