Vous êtes sur la page 1sur 4

Assignment for DSP

Date: 30/10/14

The following are the assignments given. Each student group is assigned one

assignment.
Total mark for assignment: 15
Due date of submission & Evaluation 20th Nov 2014 between 2:00 pm to 6:00 pm

.
How to submit report/assignment:
Please go to DSP lab with your report in pen drive and copy in the specific system/Laptop as
asked by lab assistant.
Deliverable
1. Demonstrate the working in real time as applicable.
2. Submit a report in proper format as indicated.
i. Cover page indicating Problem statement, Lab Day, Group no and ID no
ii. Theory, analysis and any assumptions (if required) for the problem.
iii. Algorithm in the form of flowchart.
iv. Results and conclusion.
v. References
vi. Matlab code/c-code
Evaluation:
Report: 5mark
Working model: 5 mark
Answering the related questions: 5marks

Assignment problem statement

1. Write MATLAB code to find DTFT of any user given signal. Use simple math operations.
You must not use any MATLAB function. The plot of DTFT should give the frequency vs
magnitude and frequency vs phase.
(a.)Do the inverse DTFT from the DTFT
2. Write MATLAB code to find FFT of any user given signal. Use simple math operations.
You must not use any MATLAB function. The plot of FFT should give the frequency vs
magnitude and frequency vs phase.
(a) Do the inverse FFT from the FFT.
3. Filtering can be done using convolution or using FFT method. Assume a filter specification
given below. To this input signal with frequency varying 5KHz to 15KHz is to be applied as
input. Implement the filter using the following two methods:
(a) FS method with windows approach.
(b) Using FFT approach.
Filter specification is; Fp= 7KHz, Fs= 12 KHz, As= 48dB,
NB: If any assumption required assume same and indicate clearly in your assignment and
proceed.
(C) Give comparative approach in terms of computation/cost, delay for the present
specification
(d) If the specification changes, how the computation/cost, delay etc. changes in both the
approaches.
4. A stereo signal played by a system creates an impression such that the listener imagines the
source to be moving from left to right. This effect is called Panning. Write a program to take
a mono audio input and create the Panning effect.
5. A man speaks continuously for some time. Write a program to take the syllables as input
and play them in any order specified by the user. You may limit the no. of words to 3 (three)
but it should have feature for any word length.
6. In connection with a research project in foetal monitoring, a need arose to assess the
effects of the measurement system on the electrical activity of the foetal heart (the ECG or

electrocardiogram).To achieve this required that certain features of the ECG be quantified
including the mains frequency content of the signal. Because of the existence of signal energy
in the neighbourhood of the mains, frequency 50 Hz, it was necessary to use a very narrow
band filter. The specifications of the filter are:
Passband 49-51 Hz
Stopband Edge freq. 47 and 50 Hz
Stopband Attenuation 30 dB (s = 0.031 62)
Passband ripple 0.1 dB (p = 0.011 579)
Sampling freq 500 Hz
Design the filter so as to minimize the number of filter coefficients. (MATLAB or C)
7. The persistence of sound in the human ear is 50-70 msec. Generate the following effects
for an audio signal at input of DSK:
1. Echo
2. Reverberation
3. Flanging
The input to the MATLAB is an audio signal at a sampling frequency of 8 KHz.
8. Write a Matlab and C code for bilateral filter. Use this filter for fog removal or haze
removal from weather degraded images and videos. Analyse and compare the results in visual
effects, speed, and time evaluation criteria.
9. Write a Matlab and C code for guided filter. Use this filter for fog removal or haze removal
from weather degraded images and videos. Analyze and compare the results in visual effects,
speed, and time evaluation criteria.
10. Write a Matlab and C code for high pass filter. Use this filter for fog removal or haze
removal from weather degraded images and videos. Analyze and compare the results in visual
effects, speed, and time evaluation criteria.
11. Write a Matlab and C code for median filter. Use this filter for fog removal or haze
removal from weather degraded images and videos. Analyze and compare the results in visual
effects, speed, and time evaluation criteria

12. Record a voice for 20 seconds duration of a person. Analyze voice and make a decision
whether it is of male or of female. If it is of male convert it to female voice or vice versa.
13. Implement the LMS Algorithm for Noise Cancellation. Demonstrate how it is working
with proper understanding of theory behind this.
14. Acquire your own voice data with some background noise through a microphone with 10
second duration and 8kHz sampling frequency, and also add a 60Hz hum noise by MATLAB
generation. Design a filter to eliminate the noise and extract your own voice. Implement the
filter and give the noisy voice signal as input and play the noise removed voice signal as
output of
16. Obtain an ECG signal and indicate the condition of heart analyzing the ECG signal as
good or bad.
17. Design a system which will take a song with music and after processing either it will
attenuate the song part and give output only music part or attenuate the music part and will
give the song part. A user should have the choice of choosing which one he/she wants.
18. Two camera based attendance system. Take picture through two cameras. Do image
fusion to get complete face picture. Match the face picture with the database and mark as
present.