The Fast Fourier Transform: Wireless & Emerging Networking System Laboratory
The Fast Fourier Transform: Wireless & Emerging Networking System Laboratory
Chapter 15.
The Fast Fourier
Transform
09 December 2013
DOC ID
• Example of the discrete fourier transform.
Figure 15.1 (a) A set of 16 data points representing sample of signal strength in the
time interval 0 to 2𝜋.
DOC ID
• The function generating the signal is of the form:
f1 f2 f3 f4
To calculate the coefficient , for each frequency divide the
amplitude by 8 (half of 16, the number of sample point)
Figure 15.1 (c) A plot of the four constituent functions and their sum a continuous function.
(d) A plot of the continuous function and the original 16 sample
DOC ID
Figure 15.2 Discrete fourier transform for human speech
DOC ID
• Given an 𝑛 element vector 𝑥, the DFT is the matrix-vector
product , where is the
primitive 𝑛th root of unity.
DOC ID
• Let’s put the DFT for previous section where we have a vector of 16 complex.
• Thus the combination of sine and cosine functions making up the curve is:
DOC ID
• Given an n element vector x, the inverse DFT is:
DOC ID
• For example, to multiply the two polynomials.
• Yielding:
• The result:
DOC ID
Another way to multiply two polynomials of degree n-1 is:
DOC ID
1. We perform the DFT on the coefficients of p(x).
DOC ID
3. We perform an element-wise multiplication.
DOC ID
• The most natural way to express the FFT algorithm is using recursion.
DOC ID
• Figure 15.4 illustrates the derivation of an iterative algorithm
from recursive algorithm.
DOC ID
Figure 15.4 (a) Recursive implementation of FFT
• In figure 15.4b we look inside the functions and determine
exactly which operations are performed for each invocation.
• After an initial permutation step, the algorithm will iterate log n time.
• Within an iteration the algorithm updates value for each of the 𝑛 indices.
DOC ID
THANK YOU
DOC ID