The purpose of this exercise is to review the methodology for computing the Fourier transform
of a discrete-time signal based upon a given set of data x[n] with
n = 0, 1, ..., N–1. This is frequently referred to as the DFT (Discrete Fourier
Transform) and is defined by
Oppenheim1:
(12.25)
It is important to note that X[k] = X(Ωk)/N
if the signal is identically zero outside the interval 0 ≤ n ≤ N–1. The DFT is then
a version of F {x[n]} that is
harmonically-sampled (Ωk = kΩ0 with Ω0
= 2π/N) and scaled (by 1/N).
Consider the continuous-time signal x(t) = sin(2πf0t). What is
the Fourier transform X(ω) of this signal?
Now consider the discrete-time signal x[n] = sin(Ω0n)
What is the Fourier transform X(Ω) of this signal?
In the following experiments we work with a sampled sinusoidal signal with a variable
frequency f0 and variable phase φ. The signal x[n],
depending upon the number of samples shown, is displayed as a smooth curve or as discrete
samples. The power spectral density spectrum Sxx(Ω) based on the DFT
spectrum X[k] is indicated by vertical bars for the various values of k.
To make the connection between k and continuous-time frequency, the horizontal axis is
labeled in units of Hz (f = ω/2π) instead of Ω, a concept used
in previous chapters as well. At any time you can listen to a signal using the
() button.
The signal is sampled at a rate of kHz and consists of
samples. From these samples, a window of N samples
is displayed.
Does the power spectral density Sxx(ω) corresponding
to the frequency f0 match your expectations? Explain.
Does changing the “zoom” change Sxx(ω)?
Does changing the phase φ change the Sxx(ω)?
Explain.
If you choose another frequency f1 ≠ f0, does the new
power spectral density differ from the original Sxx(ω)?
If so, in what ways does it change?
Are there other frequencies, f1 ≠ f0, for which the
power spectral density appears to be a purely shifted version of the original
Sxx(ω)?
Explain why the power spectral density Sxx(ω) for
some values of f is a shifted version of the original
Sxx(ω) and for some values of f it is not.
1Oppenheim, A. V., A. S. Willsky and S. H.
Nawab (1996). Signals and Systems. Upper Saddle River, New Jersey,
Prentice-Hall ↵