ELEC 320, Fall 1998
Prof. Rich Kozick

Homework 20

Date Assigned: Friday, November 20, 1998
Date Due: Wednesday, December 2, 1998

Please answer the following question related to the fast Fourier transform (FFT). Refer to Lab 7 for notes on how to perform the FFT with MATLAB.

  1. You are given a data file sig1.dat that can be downloaded from the Web version of this assignment at
    The file contains discrete-time data that was obtained by sampling a continuous-time signal at the rate of 300 samples per second. The data can be loaded into MATLAB with the command

    load sig1.dat -ascii

    after which a variable named sig1 will be available. (The MATLAB command whos gives you a listing of all variables defined in the MATLAB workspace.)

    Suppose it is known that either two or four distinct sine waves are present in the data.

    Explain your reasoning.

Thank you.