Next: EEL5701: MATLAB#3
Up: EEL5701: Matlab Assignments
Previous: EEL5701: MATLAB#1
Due Tuesday, June 30 at midnight
This is your second Matlab assignment of the course. Create a matlab script
file in your dsp directory (on the EEL system)
called matlab2.m that answers the following
questions. Place a ``pause'' after each question in your file. Typing
``matlab2'' in this 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). As usual, send email to
signe@eel.ufl.edu when you complete the assignment. 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.
- 1.
- Verify your filter design of problem 4.18 in two ways:
- (a)
- by simulating the filter on a signal composed of three sinusoids and
showing before and after plots of the signal. Comment (one sentence) on
the result.
- (b)
- by plotting the magnitude and phase of the transfer function of the
filter. Comment (one sentence) on the result.
- 2.
- Create four generalized linear phase FIR filters (of minimum
length) that achieve the same specs as given in problem 4.18. These four
filters should include one of each of the four types of generalized linear
filters. For each filter, plot:
- (a)
- the impulse response
- (b)
- a pole/zero diagram
- (c)
- magnitude and phase
You do not need to show how you derived each filter, but make sure each plot
is clearly labeled.
- 3.
- Choose a stable, causal single-pole all-pass filter.
- (a)
- Plot the magnitude and phase of this filter.
- (b)
- Plot the impulse response of this filter.
Comment (one sentence) on the results.
Next: EEL5701: MATLAB#3
Up: EEL5701: Matlab Assignments
Previous: EEL5701: MATLAB#1
Dr John Harris
1998-08-08