Professional Documents
Culture Documents
Updated DSP Assignment
Updated DSP Assignment
(JAN-APR 2020)
INSTRUCTIONS TO CANDIDATES:
Type your name and ID on the cover page, attach it as the first page of your pdf
file.
Scan all your handwritten answers and cover page, save as ONE pdf file.
Compress the pdf file and all Matlab files into ONE file (.zip or .rar), and label the
file with your name and ID, i.e. Chow Li Sze (1001234567).rar
Warning:
The University Examination Board of UCSI University regards cheating as a most
serious offence and will not hesitate to mete out the appropriate punitive actions
according to the severity of the offence committed, and in accordance with the clauses
stipulated in the Students’ Handbook, up to and including expulsion from UCSI
University.
Page 1
January – April 2020 Final Assessment EE401/EE414 Digital Signal Processing
Q1 Design a FFT digital processor for spectral analysis using Matlab, with the
following instruction:
(a) Generate a digital signal, x(n), sampled at 6,000 Hz, using 500 sample points:
2𝜋1000𝑛 2𝜋1700𝑛
𝑥(𝑛) = 𝑒 0.2 cos ( ) + √3cos( )
6,000 6,000
(1 mark)
(e) Generate the DFT coefficient X(k) for the digital signal x(n) with Gaussian
noise, using FFT.
(1 mark)
(h) If the sampling frequency is reduced to 3,000 Hz, construct a new one-sided
amplitude spectrum.
(1 mark)
Page 2
January – April 2020 Final Assessment EE401/EE414 Digital Signal Processing
Q2(a) Design a suitable 7-tap FIR filter using the Hamming window function for the
noisy digital signal in Question 1. (Show your filter design and its filter
coefficients with handwritten calculation)
(5 marks)
(b) From Q2(a), derive the transfer function and difference equation of the FIR
system.
(2 marks)
(iii) Apply the FIR filter to the noisy digital signal in Question 1 by showing
its filtered frequency spectrum.
(1 mark)
Page 3
January – April 2020 Final Assessment EE401/EE414 Digital Signal Processing
Q3(a) Design a suitable digital Butterworth filter for the noisy digital signal in
Question 1. (Show your filter design and its transfer function with handwritten
calculation)
(6 marks)
(iii) Apply the IIR filter to the noisy digital signal in Question 1 by showing
its filtered frequency spectrum.
(1 mark)
(c) Explain which filter (FIR or IIR) is better by comparing your result in Q2(c) and
Q3(b).
(1 mark)
Page 4