next up previous
Next: EEL5701: MATLAB#2 Up: EEL5701: Matlab Assignments Previous: EEL5701: Matlab Assignments

EEL5701: MATLAB#1




Due Tuesday, June 2 at 5pm

This is your first Matlab assignment in the course. First the first time, we will be instituting paperless matlab assignments. To do this, create a subdirectory on your unix EEL account called ``dsp'' (note the small letters). When you complete the assignment and before the above deadline, send email to signe@eel.ufl.edu stating your name and the username of your EEL account. (FEEDS students should email their names, requested username, and social security number to Dr. Harris ASAP so he can get your accounts created.) Use ``ls -l'' to make sure that your dsp directory and its files are readable by all when you finish. As with the homeworks, you are allowed to talk to other students about the assignment, but the final work your turn in must be your own. Note for this first assignment, we are trusting you not to look in other people's dsp directories.

1.
Plot the magnitude and phase of the DTFTs of the sequences given in Problem 3.9 (in Mitra) for N=10.
2.
Plot the magnitude and phase of the 21-point DFTs of the sequences given in Problem 3.9 (in Mitra) for N=10.
3.
Consider the following two sequences: x=[5, 2, 4, -1, 0, 0] and y=[-3, 4, 0, 2, -1, 2] where n=0 occurs at the first element in each sequence. Plot the convolution of these two sequences using the matlab ``conv'' command.
4.
Write a matlab function (in another m file) to compute the circular convolution of two arbitrary sequences. Demonstrate the program (in matlab1.m) on the two sequences given in question 3, display a plot of the result.

Create a matlab script file in your dsp directory called matlab1.m that answers the above questions. Place a ``pause'' after each question in your file. Typing ``matlab1'' in your directory should display the answers to each of the questions. Make sure that your code actually works in the Matlab version on the EEL unix computers (MATLAB Version 5.1.0.421 on HP700 and Signal Processing Toolbox Version 4.0.1). You login remotely using X-windows from a unix machine or from a PC.


next up previous
Next: EEL5701: MATLAB#2 Up: EEL5701: Matlab Assignments Previous: EEL5701: Matlab Assignments
Dr John Harris
1998-08-08