Skip to content Skip to navigation

Connexions

You are here: Home » Content » Discrete Fourier Transform Pair

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Discrete Fourier Transform Pair

Module by: Don Johnson

Summary: How to compute spectra using DFT.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

We can compute the spectrum at as many equally spaced frequencies as we like. Note that you can think about this computationally motivated choice as sampling the spectrum; more about this interpretation later. The issue now is how many frequencies are enough to capture how the spectrum changes with frequency. One way of answering this question is determining an inverse discrete Fourier transform formula: given Sk S k , k0K1 k 0 K 1 , how do we find sn s n , n0K1 n 0 K 1 ? Presumably, the formula will be of the form snk=0K1Sk+2πnkK s n k 0 K 1 S k 2 n k K . Substituting the DFT formula in this prototype inverse transform yields

snk=0K1m=0N1sm-2πmkK+2πnkK s n k 0 K 1 m 0 N 1 s m 2 m k K 2 n k K (1)
Note that the orthogonality relation we use so often has a different character now.

Orthogonality

k=0K1- 2 π k m K+ 2 π k n K=Kifmnn±Kn±2K0otherwise k 0 K 1 2 k m K 2 k n K K m n ± n K ± n 2 K 0 (2)
We obtain nonzero value whenever the two indices differ by multiples of K K . We can express this result as Klδm(nlK) K l l δ m n l K . Thus, our formula becomes
snm=0N1smKt=-δmn+lK s n m 0 N 1 s m K t δ m n l K (3)
The integers n n and m m both range over 0N1 0 N 1 . To have an inverse transform, we need the sum to be a single unit sample for m m , n n in this range. If it did not, then sn s n would equal a sum of values, and we would not have a valid transform: Once going into the frequency domain, we could not get back unambiguously! Clearly, the term l=0 l 0 always provides a unit sample (we'll take care of the factor of K K soon). If we evaluate the spectrum at fewer frequencies than the signal's duration, the term corresponding to m=n+K m n K will also appear for some values of mn0N1 m n 0 N 1 . This situation means that our prototype transform equals sn+sn+K s n s n K for some values of n n . The only way to eliminate this problem is to require KN K N : We must have more frequency samples than the signal's duration. In this way, we can return from the frequency domain we entered via the DFT.

Exercise 1

When we have fewer frequency samples than the signal's duration, some discrete-time signal values equal the sum of the original signal values. Given the sampling interpretation of the spectrum, characterize this effect a different way.

Solution

This situation amounts to aliasing in the time-domain.

Another way to understand this requirement is to use the theory of linear equations. If we write out the expression for the DFT as a set of linear equations,

DFT as Linear Equations

s0+s1++sN1=S0 s 0 s 1 s N 1 S 0 (4)
s0+s1-2πK+sN1-2πN1K=S0 s 0 s 1 2 K s N 1 2 N 1 K S 0 (5)
(6)
s0+s1-2πK1K++sN1-2πN1K1K=SK1 s 0 s 1 2 K 1 K s N 1 2 N 1 K 1 K S K 1 (7)
we have K K equations in N N unknowns if we want to find the signal from its sampled spectrum. This requirement is impossible to fulfill if K<N K N ; we must have KN K N . Our orthogonality relation essentially says that if we have a sufficient number of equations (frequency samples), the resulting set of equations can indeed be solved.

By convention, the number of DFT frequency values K K is chosen to equal the signal's duration N N . The discrete Fourier transform pair consists of

Discrete Fourier Transform Pair

Sk=n=0N1sn-2πnkN S k n 0 N 1 s n 2 n k N (8)
sn=1Nn=0N1sn+2πnkN s n 1 N n 0 N 1 s n 2 n k N (9)

Comments, questions, feedback, criticisms?

Send feedback