0% found this document useful (0 votes)
41 views2 pages

Design of FIR Filters Using Windows - Practice Problems

dsp practice
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

Design of FIR Filters Using Windows - Practice Problems

dsp practice
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment

Part A - Design of FIR Filters using Windows

1. Find the filter coefficients of a FIR band pass filter, in which ωc2 = 0.6π and ωc1 =
0.2π. Select a Hamming Window of length N = 11.

Hint: Filter coefficient = ℎ(𝑛)


For verification:
ℎ(𝑛)
0, 0.0049, −0.0650, −0.1671, 0.1055, 4, 0.1055, −0.1671, −0.0650, 0.0049, 0
={ }

2. Find the difference equation form of an FIR low pass filter with cut off frequency
𝜔𝑐 = 0.75𝜋 using a Hamming window sequence of length 7.
𝑌(𝑧)
Hint: Find 𝐻(𝑧) first and then take (𝑧) = . Cross multiply and take inverse z
𝑋(𝑧)
transform to get the difference equation
For verification:
𝑦(𝑛) = 0.006 𝑥(𝑛) − 0.049 𝑥(𝑛 − 1) + 0.173 𝑥(𝑛 − 2) + 0.75 𝑥(𝑛 − 3)
+ 0.173 𝑥(𝑛 − 4) − 0.049 𝑥(𝑛 − 5) + 0.006 𝑥(𝑛 − 6)

3. Find the desired impulse response coefficients of a band stop filter with length 5 to
reject the frequencies in the range 175Hz to 240Hz and sampling frequency of 1 kHz.
Use those coefficients to design a real time band stop filter with the help of a
rectangular window. Plot the magnitude response of the filter for 0 ≤ 𝜔 ≤ 𝜋
(Take 10 points for plotting the graph)
F
Hint: ω = 2𝜋
𝐹𝑠

Desired impulse response coefficients = ℎ𝑑 (𝑛). Use ℎ𝑑 (𝑛) to find ℎ(𝑛) and 𝐻(𝑧)
For verification:
𝐻(𝑧) = 0.1088(1 + 𝑧 −4 ) − 0.0340(𝑧 −1 + 𝑧 −3 ) + 0.87𝑧 −2

4. Find the filter coefficients of a FIR high pass filter of length 11 and cut off frequency
𝜔𝑐 = 0.25𝜋 using a hanning window.
Hint: 𝐻𝑑 (𝑒 𝑗𝜔 ) → ℎ𝑑 (𝑛) → ℎ(𝑛) → 𝐻(𝑧)
For verification:
0, 0, −0.026, −0.104, −0.204, 0.75, −0.204, −0.104, −0.026, 0, 0
ℎ(𝑛) = { }

You might also like