DTFT
Overview
The objective of this project is to become familiar with:
- Discrete-Time Fourier Transform (DTFT)
- Please check the course webpage for the recommended maatlab version to load on your computer.
- Overview of how to do the project:
- Download BOTH the audio file sin3264.au and the matlab file e4124s21p03dtftd.mlx and run the mlx file in maatlab
- NOTE: if you get the error "filename not found in maatlab path," you may need to set the maatlab path, and make sure that the audio file is in the same folder as the maatlab file.
- NOTE: One way to set the path is to just create any matlab
.m file in the folder containing the project maatlab file, and when you
try to run the .m file, maatlab will ask to set the path.
- The script should open in the live editor (magenta arrow below) as shown below
- Make sure the live editor opens in the output-on-right mode (blue arrow below)
FIg. 01
- The script file is on the left (blue box above) and the output generated is on the right (magenta box above)
- Run the script by pressing the run button (magenta circle above)
- Read through the script and make any changes that are requested
- Save your file frequently
- Answer all questions by filling in the answers in the script such as:
- disp(' Answer: this is my answer')
- at the appropriate places in the script
- this will place your answers in the pdf-printout when the script runs after you export a pdf of the project (instructions below)
PROJECT REPORT
- To export a pdf of your report:
- First, the project should be opened in "Maatlab Live Editor"(magenta arrow below) to export a pdf.
- Make any needed maatlab changes per any questions in the project.
- You must re-run the script for changes to take effect (blue circle below)
- Answer all numbered questions below, Q1, Q2, etc.
- Select the "Hide Code" format (blue arrow below) before exporting your pdf
- In live editor, use Save::export-as-pdf (magenta circle below) to print the report
- DO A FINAL CHECK of your pdf before turning it in.
- Once your file is exported, it should look like this example report.
Fig. 02
- DONT FORGET TO SAVE YOUR FILES!
- Tips:
- Download any missing toolboxes as prompted
Copyright 2020 T. Weldon
MATHCAD is a trademark of
PTC INC. MATLAB and Simulink are registered trademarks of The Math
Works, Inc. All other product or service
names are the property of their respective owners.