Filter Design Problems Exp 5
Filter Design Problems Exp 5
1. Design a LPF using a Kaiser window in fdatool, MATLAB. Use the design specifications
given in problem #4 (lab-works) in the lab-sheet. Plot the magnitude spectrum and impulse
response of your filter.
2. Design a HPF using a Kaiser window in fdatool, MATLAB. Use the design specifications
outlined below:
𝐹𝑠 = 7400 𝐻𝑧
𝐹𝑝 = 8600 𝐻𝑧
𝐷𝑝 = 0.01
𝐷𝑠 = 0.001
Assume a sampling frequency of 48 KHz. Plot the magnitude and phase spectra of your filter.
Is it a linear phase filter? Comment.
3. Design a BPF using the equiripple filter setting in fdatool, MATLAB. Use the following design
specifications:
𝑓𝑠1 = 0.35
𝑓𝑝1 = 0.4
𝑓𝑠2 = 0.55
𝑓𝑝2 = 0.5
𝐷𝑝 = 0.05
𝐷𝑠 = 0.005
All frequencies are normalized to 1. Redesign the FIR filter using a window-based setting.
How do both methods compare in terms of complexity? Plot their magnitude responses in the
same figure and briefly discuss the pros and cons of both methods.
4. Design a notch filter for removing the 50 Hz power line frequency component from an EEG
recording (assume fsampling = 300 Hz). You are instructed to design the filter so that it may be
efficiently deployed in the form of a circuit. Set the filter specifications as you see fit. Feel free
to try out filters/windows not discussed in the class also.
NB: For the FIR filter design part, change the magnitude specification units to “linear” to insert
the given ripple specifications directly. The solutions to the above problems are to be added to the
lab report for Exp 05.