Question 8
The filter was demonstrated to work correctly using computer simulation. The filter output y(n) with sinusoidal input x(n) was evaluated using the difference equations.
Using a sampled sine wave at frequency=f_0=2000 Hz:
From Matlab, the transient response for the amplitude and phase to reach steady state was calculated to be 0.003 seconds.
The Matlab Code from 8a can be seen here.
Using a sampled sine wave at frequency = f_0+B/2 = 2250 Hz: