Anda di halaman 1dari 2

MAY 2016 EDB2073 DIGITAL SIGNAL PROCESSING

MATLAB Group Project


Part 1: Time- and Frequency-domain analyses of DT signal
Introduction
In this assignment, you will work in groups of two or three students to perform analysis in the timedomain and frequency-domain analyses of a given signal. Each group will be assigned a unique audio
signal in WAV format. You need to perform the tasks described below and write a report on your result
and findings. All tasks must be completed using the MATLAB software, and not any other signalprocessing software. You are not allowed to use SIMULINK, which is a toolbox in MATLAB.
Tasks
Task 1: Time-domain analysis
1. Write a program to determine and plot the first 10 samples of the DT signal.
2. Write a program to determine and plot the first 10 milliseconds of the DT signal.
Task 2: Frequency-domain analysis
1. Write a program to plot the frequency spectrum (magnitude and phase spectra) of the DT signal,
with as the x-axis.
2. Write a program to plot the frequency spectrum (magnitude and phase spectra) of the DT signal,
with f (in Hz) as the x-axis.
3. From the magnitude spectrum, determine the most dominant frequency component of the
signal (i.e. with the highest magnitude), in Hz.
Task 3: Application design Single echo generator
One application of DSP is to add an echo effect into an audio signal. There are many ways to achieve
this, but the simplest way is using the single echo generator, which is described by the following
equation:
[] = [] + [ ],

|| < 1

Here, the output y[n] consists of the input signal, x[n] added with a delayed version of x[n] with a
smaller amplitude. For echoes, the delay should be between 50 to 100 milliseconds.
1. Choose a suitable delay for your echo generator in milliseconds and in number of samples, R.
2. Choose a suitable value for .
3. Write a MATLAB code that will add the echo based on your design parameters onto the audio
signal given to you.

Deliverables
1) A formal report with the necessary components e.g. Introduction, Objectives, Method, Results
etc.
2) You must clearly state the design process that you have gone through e.g. calculations involved,
choice of design parameters etc.
3) The report must include all plots generated in the tasks.
4) The report should also include the process that you have gone through to write your code e.g.
design strategy, how did you test your code, what are the problems encountered and how did
you solve them etc. This however, does not mean an explanation of each line of code.
5) All the MATLAB codes you have written to complete the tasks.
Grouping
You will be assigned to your respective groups through e-learning. Allocation is random.
Submission
The deadline of submission is MONDAY, 25 JULY 2016.
Each group must submit two files ONLY through e-learning under the MATLAB Group Assignment
Section.
1. File 1 Full report in PDF format
2. File 2 zipped file of all MATLAB codes written
A Warning on Plagiarism
The group assignment has been designed to reduce the likelihood of plagiarism or copying amongst
different groups by giving different design parameters.
However, it is still possible for groups to plagiarize the MATLAB codes of other groups and make minor
changes to correspond to their own audio signal.
If two or more groups are found to have nearly identical MATLAB codes, all the groups involved will
receive ZERO marks for the group assignment regardless of who copied whom.
Therefore, we suggest you take the following precautions to protect your groups work:
1. Do not discuss or share your MATLAB code or report with any other group.
2. If working in the lab, be sure to delete all your files from the computer and empty the Recycle
Bin before leaving so that other students cannot copy your files from the computer.
3. Do not leave notes or printouts of your codes lying around for others to find.
4. Be sure to remove all pen drives and external hard drives from the computers in the lab before
leaving.

Anda mungkin juga menyukai