Consider the sequence
x(k) = cos(k pi /6).
Find the transfer function and the difference equation for a 2nd -order FIR filter that has unity d.c. gain, but for which the given input x(k) produces zero forced response. (Your filter will have a "notch" at the given frequency, and H(1) =1.)
Find the transfer function and the difference equation for a stable 2nd -order filter that has unity d.c. gain, but for which the given input x(k) produces a large forced response. (Your filter will have a lightly damped resonance at the given frequency, and H( 1) =1.) Plot the frequency response of each filter. Program the corresponding difference equations and plot the response of each filter to the input sequence
x(k) = cos(k pi /6) + 1.
Make sure the time-domain results are consistent with the frequency response plots.