You are on page 1of 5

Digital Signal Processing

EE-414
Lab Report 9 Fall 2022

Obtained Marks
Total Marks

Lab Engineer Signature &


Section & Comments

Group
Student Name

1. Muhammad Afaq Younas

2. Asad Iqbal

3. Muhmmad Abdullah

Section: Electronics Group: 9

Experiment No: 09 Date of Submission:


5/12/2022

Experiment Title:
Digital IIR Filter Design

Batch: BSEE Teacher:


2019-23 Dr. Sufi Tabassum Gul

Semester Lab Engineer:


7th Ms. Arhama Riaz

Department of Electrical Engineering


8.1. OBEJECTIVES:
The objectives of this lab were to:
• To design Infinite Impulse Response (IIR) filters and analyzes their responses on
MATLAB.

8.2. EQUIPMENT:
• Computer/Laptop
• MATLAB Software.

8.3. USEFUL MATLAB FUNCTIONS:


• Butter: butter(n,Wn) returns the transfer function coefficients of an nth-order lowpass
digital Butterworth filter with normalized cut off frequency Wn.
• cheby1: This MATLAB function returns the transfer function coefficients of an nth
order lowpass digital
• ellip: This MATLAB function designs an elliptical IIR digital filter using the
specifications in the object design Specs.
• freqz: determines the transfer function from the (real or complex) numerator and
denominator polynomials you specify and returns the complex frequency response,
H(ejω), of a digital filter.

8.4. TASKS:
8.4.1. TASK 1: Design Infinite Impulse Response (IIR) Filters.
Figure 1: BUTTERWORTH FILTER

Figure 2: CHEBYSHEV

Figure 3: ELLIPTICAL
8.4.2. TASK 2: Filtering noise from any signal using digital filters.
BUTTERWORTH:

CHEBYSHEV:
ELIPTICAL:

8.5. DISCUSSION:
Each digital filter has its own advantages and disadvantages. Butterworth filters are easy to
implement, and it is designed in such a way that the frequency response is as flat as possible.
It has no ripples in passband as well as stopband. The roll off of the Butterworth filter is not
fast.
The Chebyshev filters although have a steeper roll off as compared to Butterworth filters but
they also have ripples in passband and stopband. The Chebyshev-1 filter has ripples in
passband, but the Chebyshev-2 filters have ripples in stopband.
The elliptical filters have ripples in both passband as well as stopband. They also provide a
very sharp cutoff as compares to both Butterworth and Chebyshev. This filter also has effect
on the magnitude of the incoming signal.
In task 2, it can be seen that the elliptical filter provides a very sharp cutoff and maximum noise
is removed in the signal. But the Butterworth filter is easier to implement and hence the best in
our case.

8.6. CONCLUSION:
Three IIR digital filters were implemented in this lab each one having its own characteristics.
Frequency response of the three filters were recorded and the different results were obtained
for each of the filter.

You might also like