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

Hamming vs Hanning Window Analysis

This document describes a lab experiment involving digital filter design and analysis. The tasks involve: 1. Designing a low-pass filter with an 11-point rectangular, Hamming, Hanning, and Blackman window at a cutoff frequency of 0.25kHz and sampling frequency of 8kHz. 2. Designing a high-pass filter with an 8-point rectangular, Hamming, Hanning, and Blackman window at a cutoff frequency of 1kHz and sampling frequency of 250kHz. 3. Designing a band-pass filter with a 9-point rectangular, Hamming, Hanning, and Blackman window with lower and upper cutoff frequencies of 0.25

Uploaded by

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

Hamming vs Hanning Window Analysis

This document describes a lab experiment involving digital filter design and analysis. The tasks involve: 1. Designing a low-pass filter with an 11-point rectangular, Hamming, Hanning, and Blackman window at a cutoff frequency of 0.25kHz and sampling frequency of 8kHz. 2. Designing a high-pass filter with an 8-point rectangular, Hamming, Hanning, and Blackman window at a cutoff frequency of 1kHz and sampling frequency of 250kHz. 3. Designing a band-pass filter with a 9-point rectangular, Hamming, Hanning, and Blackman window with lower and upper cutoff frequencies of 0.25

Uploaded by

SaRosh Raees
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Digital Signal Processing 2016-EE-113

LAB # 09
Object: Filter design and Analysis
TASK 1: Design LPF with 11 filter length having fc=0.25KHz & fs=8KHz by using
Rectangular, Hamming, Hanning & Blackman Window method.
Magnitude Response (dB) Magnitude Response (dB)
0 0

-10 -10

-20 -20

Magnitude (dB)
Magnitude (dB)

-30 -30

-40 -40

-50 -50

-60 -60

-70 -70
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
Frequency (kHz) Frequency (kHz)

Magnitude Response (dB) Magnitude Response (dB)

0 0

-10
-10
-20
-20
-30

Magnitude (dB)
-30
Magnitude (dB)

-40
-40
-50
-50
-60

-60 -70

-70 -80

-80 -90

0 0.5 1 1.5 2 2.5 3 3.5


0 0.5 1 1.5 2 2.5 3 3.5 Frequency (kHz)
Frequency (kHz)

TASK 2: Design HPF with 8 filter length having fc=1KHz & fs=250KHz by using
Rectangular, Hamming, Hanning & Blackman Window method.
Magnitude Response (dB) Magnitude Response (dB)

0.2
0

0.1
-0.05
0
-0.1
-0.1
Magnitude (dB)

Magnitude (dB)

-0.2 -0.15

-0.3 -0.2

-0.4
-0.25
-0.5
-0.3
-0.6

0 20 40 60 80 100 120 0 20 40 60 80 100 120


Frequency (kHz) Frequency (kHz)

Magnitude Response (dB)


Magnitude Response (dB)
0
0

-0.05 -0.05

-0.1
Magnitude (dB)

-0.1
Magnitude (dB)

-0.15
-0.15
-0.2

-0.2
-0.25

-0.3 -0.25
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Frequency (kHz) Frequency (kHz)

TASK 3: Design BPF with 9 filter length having fc1=0.25Hz, fc2=200Hz & fs=1KHz by using
Rectangular, Hamming, Hanning & Blackman Window method.

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 1


Digital Signal Processing 2016-EE-113

Magnitude Response (dB)


Magnitude Response (dB)
0
0
-10
-10
-20
-20
Magnitude (dB)

-30

Magnitude (dB)
-30
-40

-40
-50

-50
-60

-60
-70
0 50 100 150 200 250 300 350 400 450
-70
Frequency (Hz) 0 50 100 150 200 250 300 350 400 450
Frequency (Hz)

Magnitude Response (dB) Magnitude Response (dB)

0 0

-10 -10

-20 -20

Magnitude (dB)
Magnitude (dB)

-30 -30

-40 -40

-50 -50

-60 -60

-70
0 50 100 150 200 250 300 350 400 450 0 50 100 150 200 250 300 350 400 450
Frequency (Hz) Frequency (Hz)

TASK 4: Design LPF with minimum filter length having fs=8KHz, fpass=600Hz,
fstop=3400Hz, Apass=0.05db, Astop=50db by using Equiripple method.
Magnitude Response (dB)

-10

-20
Magnitude (dB)

-30

-40

-50

-60

0 0.5 1 1.5 2 2.5 3 3.5


Frequency (kHz)

TASK 5:Design LPF with 41 filter length having fs=8KHz & fc=1600Hz by using
Rectangular, Hamming, Hanning & Blackman Window method.
Magnitude Response (dB) Magnitude Response (dB)

0 0

-10 -10

-20 -20
Magnitude (dB)
Magnitude (dB)

-30
-30

-40
-40

-50
-50

-60
-60
-70
-70
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
Frequency (kHz) Frequency (kHz)

Magnitude Response (dB) Magnitude Response (dB)

0 0

-10
-10
-20
-20
-30
Magnitude (dB)
Magnitude (dB)

-30
-40

-40 -50

-50 -60

-70
-60
-80
-70

0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5


Frequency (kHz) Frequency (kHz)

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 2

You might also like