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

DSP Computer Assignment

The document outlines the Computer Assignment III for the Digital Signal Processing course at the Indian Institute of Information Technology, Sri City, Chittoor, due on November 20, 2024. It includes tasks related to FFT implementation, IIR filter design, and FIR filter design, requiring theoretical solutions and MATLAB/Python code to be submitted in a single PDF. The assignment emphasizes practical applications of signal processing concepts, including noise analysis and filter design specifications.

Uploaded by

MAHESH MEESALA
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)
37 views2 pages

DSP Computer Assignment

The document outlines the Computer Assignment III for the Digital Signal Processing course at the Indian Institute of Information Technology, Sri City, Chittoor, due on November 20, 2024. It includes tasks related to FFT implementation, IIR filter design, and FIR filter design, requiring theoretical solutions and MATLAB/Python code to be submitted in a single PDF. The assignment emphasizes practical applications of signal processing concepts, including noise analysis and filter design specifications.

Uploaded by

MAHESH MEESALA
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

INDIAN INSTITUTE OF INFORMATION TECHNOLOGY

SRI CITY, CHITTOOR


Digital Signal Processing
Computer Assignment III, Monsoon 2024

Instructions
1. Answer all questions
2. Include any matlab/python code written in the solutions
3. Upload the theoretical solutions along with the results from computer programs in a single pdf
4. Total marks 20
5. Deadline is 20 November, 2024

1 FFT Implementation
1. DIT-FFT algorithm
• Using recursion, write a program for DIT-FFT algorithm
• Using this program determine the spectral content of the signal z(n) given below
x(n) = a[sin(ω1 n) − 0.5 cos(ω2 n)] 0 ≤ n ≤ L − 1
x(n) 0 ≤ n ≤ L2 − 1
z(n) = L
−x(n) 2 ≤n≤L−1
assume reasonable values for a, b, ω1 and ω2 and choose a sufficient sampling rate.
2. Line Spectra versus Noise
• Define a signal
y(n) = a cos(ω0 n) + b cos(αω0 n) + w(n)
assume reasonable values for a, b, ω0 and α , 1 and choose a sufficient sampling rate.
• Assume
w(n) ∼ N(0, σ2 )
Generate the signal y(n) for different values (#5) of the noise power σ2 ∈ [1, 100]
• Using the FFT algorithm, for each of the above y(n) determine and plot the frequency components of
the signals
• Comment on the results, specifically, what happens to the spectral lines as the noise power increases.
• Choose the 3 values of α = [1.05, 1.1, 1.3] and study its impact on estimation of the spectral lines
1
2 IIR Filter
1. Design an analog low pass filter required to meet the following specifications:
Passband ripple ≤ 1 dB
Passband edge: 8kHz
Stopband attenuation: ≥ 40dB
Stopband edge: 16kHz
Sample rate: 54kHz
Specifically report the following
(a) For a Buttorworth filter show the calculations for the filter order N and cut off frequency Ωc
(b) Compare the results with the built-in function from Matlab or Python
(c) Write the transfer function in s-domain and provide a rough sketch of the filter’s frequency
response.
(d) Convert the filter to Digital domain using the Impulse invariance transformation
(e) Convert the filter to Digital domain using the Bilinear transformation
(f) Provide a comparison of results from the two methods

3 FIR Filter
1. (a) Design an FIR filter to stop a frequency at 2ω0 using either Hamming or Hanning windows of
sufficient length M
(b) consider the signal  
x(n) = sin ω0 n + 2cos(2ω0 n) + 3sin(3ω0 n)

(c) Apply the above FIR filter and demonstrate that the frequency component at 2ω0 is attenuated
successfully.
(d) Determine if the value of M has any impact on the filter design and attenuation efficiency

You might also like