Laboratory Exercise 12.1
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) Missing Lab_12.1 equation
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 {x[n]} that is harmonically-sampled (Ωk = kΩ0 with Ω0 = 2π/N) and scaled (by 1/N).
  1. Consider the continuous-time signal x(t) = sin(2πf0t). What is the Fourier transform X(ω) of this signal?

  2. 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 44.1 kHz and consists of 3700 samples. From these samples, a window of N samples is displayed.

  1. Does the power spectral density Sxx(ω) corresponding to the frequency f0 match your expectations? Explain.

  2. Does changing the “zoom” change Sxx(ω)?

  3. Does changing the phase φ change the Sxx(ω)? Explain.

  4. 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?

  5. Are there other frequencies, f1 ≠ f0, for which the power spectral density appears to be a purely shifted version of the original Sxx(ω)?

  6. 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  


Synthetic sound:           
Zoom: f0:
                     N = 900 samples             f0 = 192 Hz
Pan: φ:
                     From 0 ms to 20.4 ms             φ = 0 º = 0 radians