You are on page 1of 1

Department of Electrical Engineering-(SOE)

EED305-Digital Signal Processing- Monsoon 2021


Lab Exam
Instructor: Prof. Vijay Kumar Chakka Duration: 2 Hrs

Note:
• Implement all questions in MATrix-LABoratory (MATLAB)
• Write your name, roll number, batch and question number in your code.
• Write proper comments and lable each figure/output
• Submit the zipped folder with name
• Use of inbuilt function to compute DFT and convolution is not allowed.
• Label your file folder containing code, results and related files as ”rollno − name.zip” and
submit using the link provided during the exam.
1. Let x(n) be an N -length ECG signal(EcgData.mat) with sampling frequency 500 Hz, which is
added with periodic noise signals to construct x̂(n) given in file (nEcgData.mat). Now perform
the following:
(a) Compute the N point DFT to obtain the Fourier coefficients X̂(K)
(b) From X̂(K), reconstruct the noise free signal
(c) State the the effect of DFT operation in obtaining the noise free signal
(d) Determine the optimal point DFT required to obtain noise free ECG signal and state the
reason for choosing the same.
2. (a) Consider the OFDM Transmitter by synthesising the 32 length composite signal using
IDFT operation with sampling frequency of 64 kHz. Consider a binary data ( by mapping
+5 indicating 1 bit; −5 indicating 0 bit respectively). Now, modulate the binary data
(1, 1, 0, 0) using real subcarriers of carrier frequencies 2, 4, 8 and 16 kHz respectively.
(b) Analyse the received signal at the receiver using DFT projections (dot product operation)
and separate the individual carrier signals.
(c) Write your observations.
3. Electroencephalogram (EEG) is an electro-physiological monitoring method to record electrical
activity of the brain. An EEG signal can be decomposed to into five waveforms namely Delta
wave (δ : 0 to 4 Hz), Theta wave (θ : 4 to 8 Hz), Alpha wave (α : 8 to 15 Hz), Beta wave
(β : 15 to 32 Hz) and Gamma wave (γ :≥ 32 Hz) based on the frequency range. Let us
consider the given N − length EEG signal x(n) (eegData.txt) having a sampling frequency of
173 : 61 Hz and perform the following:
(a) Compute the N − point DFT of x(n).
(b) Using the DFT coefficients extract the five waveforms present in x(n).
(c) Show that sum of all the five waveforms is equal x(n)
(d) Determine the optimal point DFT required to achieve the above task
4. (a) Read the given ′ nImData.mat′ image file as x(n) and convert it gray scale image of size
N × N where N = 128 and display it.
(b) Apply the moving average filter x(n) for M = 5 using linear convolution sum and display
the filtered image.
(c) Repeat the same using M=4 and expalin the reason for the deviation in obtained results
(d) Comment on the nature of the filter.

Lab Instructor: Prof. Vijay Kumar Chakka and Dr. Kamal Singh.
Teaching Assistants: Dr. Shaik Basheeruddin Shah, Priyanka Mathur, and Satvika Anand.

You might also like