DSP Practice Problem 4
DSP Practice Problem 4
1. A 3‐tap FIR lowpass filter has cutoff frequency of 800 Hz and a sampling rate of
8,000 Hz.
a. Calculate the filter coefficients using the Fourier transform method.
b. Determine the transfer function and difference equation of the designed
FIR system.
c. Compute and plot magnitude and phase response for Ω = 0, π/4, π/2, 3π/4
and π radians.
2. For a 5‐tap bandpass filter with a lower cutoff frequency of 2,000 Hz and sampling
rate of 8,000 Hz.
a. Calculate the filter coefficients.
b. Determine the transfer function.
c. Plot magnitude and phase response for Ω = 0, π/4, π/2, 3π/4 and π radians.
3. Obtain the coefficients of an FIR lowpass filter to meet the specifications given
below using the window method.
Passband edge frequency 1.5 kHz
Transition band 0.5 kHz
Stopband attenuation >50 dB
Sampling frequency 8 kHz
5. Estimate the values of coefficients only for linear phase FIR filter using Kasier
window to satisfy the following amplitude response specifications.
Stopband attenuation 40 dB
Passband ripple 0.01 dB
Transition width 500 Hz
Sampling frequency 10 kHz
Ideal cutoff frequency 1200 Hz
6. Given the calculated FIR filter coefficients
h0(0) = 0.25, h0(1) = h0(‐1) = 0.22508, h0(2) = h0(‐2) = 0.15915, h0(3) = h0(‐3) =
0.07503.
a. Apply Hamming window function to obtain window coefficients h(n).
b. Plot the impulse response h0(n) and windowed impulse response h(n).
7. A 3‐tap FIR filter has cutoff frequency 800 Hz and sampling frequency 8,000 Hz.
a. Design the filter using Hamming window function.
b. Determine the transfer function and difference equation of the designed
FIR system.
Some Common Window Functions