Title: Fourier Methods
1Fourier Methods
- ??? jjindda_at_korea.ac.kr
- ??? lockdown99_at_korea.ac.kr
- ??? realchs_at_korea.ac.kr
2Fourier Series
- For periodic data, it is more appropriate to use
sine and cosine functions for the approximation
or interpolation - Fourier Series
- An investigation into data approximation and
interpolation using trigonometric polynomials - The formulas for the coefficients are found by
using the appropriate orthogonality results for
the sine and cosine function. - Derivation from Euler formulas
-
3Fourier Series
n 1
n 2
n 10
n 10000
4contents
- Fourier Approximation and Interpolation
- Fast Fourier Transforms for n2r
- Fast Fourier Transforms for General n
5Fourier Approximation and Interpolation
- Discrete Fourier Approximation
- Formulas
- If number of samples per period are odd,
- If number of samples per period are even,
- ? Derivation of the formulas for the
coefficients??
6Fourier Approximation and Interpolation
- Discrete Fourier Approximation
-
7Fourier Approximation and Interpolation
- Example 10.1 Trigonometric Interpolation
8Fourier Approximation and Interpolation
- Example 10.2 Trigonometric Approximation
9Fourier Approximation and Interpolation
- 10.1.1 Matlab function for Fourier Interpolation
or Approximation
10Fourier Approximation and Interpolation
- Example 10.3 A step function
- z 1 1 1 1 0 0 0 0
- m4
- a,bTrig_poly(z,m)
- a 0.5 0.25 0 0.25 0
- b 0 0.6036 0 0.1036 0
m4
m3
11Fourier Approximation and Interpolation
- Example 10.4 Geometric Figures
-
12Fast Fourier Transform
13Discrete Fourier Transform
- discrete-time Fourier transform
- The discrete-time Fourier transform X(ejw) of a
sequence xn is defined by - discrete Fourier transform
- uniformly sampling X(ej?) on the ?-axis between 0
? 2p at ?k2pk/N, 0 k N-1
14Discrete Fourier Transform
- Commonly used notation
- We can rewrite DFT equation as
- Inverse discrete Fourier transform (IDFT)
15Discrete Fourier Transform
- Matrix Relations
- The DFT samples can be expressed in matrix form
as - DFT can be computed in O(N2) operations.
- FFT can reduce the computational complexity to
about O(Nlog2N) operations
16contents
- Fourier Approximation and Interpolation
- Fast Fourier Transforms for n2r
- Fast Fourier Transforms for General n
17Fast Fourier Transforms for n 2r
- begin by considering the FFT when n is power of
2, i.e., n2r - Example of n 4
- Each value of j can be written in binary form as
j2r-1jr22j32j2j1. - We can also write k in binary form, but as k
2k1k2
18Fast Fourier Transforms for n 2r
- begin by writing out the linear system of
equations for the Fourier transform components
for the case n4 - w4 w0 1, and interchanging the order of the
second and third equations
19Fast Fourier Transforms for n 2r
- We now factor the coefficient matrix
- Substituting the factored form of the coefficient
matrix into DFT eq.
20Fast Fourier Transforms for n 2r
- First we find the product
- Then we form the second product
21Fast Fourier Transforms for n 2r
- Pathways with powers of w on them indicate that
the quantity on the left is multiplied by that
amount.
22Algebraic Form of FFT
- Example of n 4
- to calculate the discrete Fourier transform of
the data zk, i.e., - using binary factorization of j and k, we have
23Algebraic Form of FFT
- We first compute the inner summation for each
value of j - Writing the digits so that j is in natural order,
we have k k22k1 and jj12j2 the first stage
produces the values of s(j12k2)
24Algebraic Form of FFT
- We now compute the outer summation
25MATLAB Function for FFT with n 4
26Example FFT with Four Points
27contents
- Fourier Approximation and Interpolation
- Fast Fourier Transforms for n2r
- Fast Fourier Transforms for General n
28FFT for General n
- The general FFT does not require the
factorization of n - example n6, r1 2 and r2 3
29FFT for General n
- Using preceding factorization of j and k, we have
30Example - FFT for Six Data Points
- z 0 1 2 3 2 1
- compute the inner sum for each pair of values of
j1 and k2
31Example - FFT for Six Data Points
32MATLAB Function for FFT with nrs