Project Materials 

   

Back

 

Discrete Fourier Transform Project - Spring 2017

  • Dates

This is a group project. You are expected to work in groups of two. You will report your group composition on April 5th. The first progress report on your work to date is due April 12th, the second progress report will be due April 19th,  and the final full report will be due April 26th. All reports will be typed as described below.

  • First assignment: Warm-up I - April 12

This is a warm-up exercise getting you ready to use MATLAB.  For those not familiar with MATLAB, there are some additional help files listed below including Dr. Herman's Wiki called MATLAB a brief introduction for students. You can access MATLAB from the computer labs or through Tealware, https://tealware.uncw.edu. [Note: the text discusses how one can use GNU Octave (or online version) and Python to carry out these exercises as well.]

Read the section on using MATLAB to symbolically compute transforms and convolutions in Section 5.12 (page 260) or in the document faproject.pdf:  Then practice the examples in that section and do the following Exercises:

  • Pg 268: 14 15 21 24 27.

Report the results in report form (using sentences, paragraphs, standard mathematical notation and not MATLAB format, figures, numbered equations). Figures can be copied by going to Edit menu item and selecting Copy Figure. Then, go to your paper and paste (CTRL-V) where you want the figure. Make sure to resize your figures, add figure labels and captions, and refer to them in your report.

  • Second Assignment - due with progress report #2 - April 19.

In this part of the project you will be investigating the discrete Fourier transform from section 6.4.1. You will make observations about how well discrete Fourier transforms capture the spectral content of signals. Several files will be needed in this project. They are listed below and in the text.

a. Warm-Up II

Open MATLAB. Type edit in the Command Window. The editor will appear. Copy the following into the editor and save as myplot.m.

close all                % closes figures
clear                     % clears variables
N=128;                % Number of points used
T=1;                     % Time interval length
dt=T/N;                % Time steps
t=(1:N)*dt;           % Time

% Function to plot
f0=5;                    % Frequency
y=sin(2*pi*f0*t);

% Plot commands
plot(t,y)
xlabel('t')
ylabel('y(t)')
title('y(t) vs t')

In the Command Window type myplot. This will run the code in the file you saved. Is this consistent with what is in the code? Now, change the number of points, the length of time, the frequency. Each time you edit the file save it before running the code. Now, add to the function another sinusoidal function with a different amplitude and frequency. Copy several of these plots and include them in your progress report, noting the values of the parameters used. Proceed to the project:

b. DFT

Complete Part 1 of Problem 14 on Page 324 for this part of the project. Use the MATLAB file ftex.m, [Note: the MS Word document contains the same instructions for the rest of the project and may be useful when you do not have your book.]

  • FFT Part of Project - April 26

Complete Parts 2-4 of Problem 14 on Page 324 for this part of the project. In these parts you will learn about MATLAB's built-in fft function. In Part 2 you will verify that the fft function reproduces what you did in Part 1, building your confidence in the use of this "black box." You will then investigate the Fourier transforms of various functions and data sets, learning how to analyze time series using the fft function.

You will keep track of your observations with your partner and submit the results on the last class day in report form with full sentence and paragraph format and not as a list of homework exercises. This entire project will count as your computer lab/project grade for the course.

All work should be typed with double-spacing and 12 pt font. You will be expected to use correct English grammar and punctuation. This is a report and thus you will use proper sentence and paragraph formatting. You will be graded on the evidence of work, mathematical detail and understanding, proper exposition and neatness. Your work should also be supported with properly labeled and embedded plots and equations. Any references used should be cited as well. These reports will count towards the project component of your grade.

Top

E-Mail: Dr. Russell Herman Last Updated: March 31, 2017