You are on page 1of 1

Homework set 11.

The Fourier Transform

11.1. For the pulse shown in text Figure 11.3, compute the complex
Fourier spectrum. Then normalize the spectrum by the frequency
resolution of the spectrum as in Figure 11.4. Compare your
numerical result with the theoretical spectrum w*sinc(wf).

Hint: use MATLAB function [y] = Sinc(x) to avoid "divide-by-zero"


errors.

Note: MATLAB's FFT functon assumes that the given function is


defined over the interval (0,L). Therefore, it will not return the
correct answer for a functon defined over the interval (-L/2, L/2).
You may wish to configure your cDFT.m program to deal with such
functions by providing the vector of sample times as an input
argument to cDFT and supply that vector to BuildCexp.m to get the
corresponding transformation matrix.

11.2 Repeat problem 11.1 for the Gaussian function g(x) = exp(-
px2). Note that this function is it's own Fourier transform. That is,
G(f) = exp(-pf2).

You might also like