Professional Documents
Culture Documents
Fast Fourier Transforms: Quote of The Day
Fast Fourier Transforms: Quote of The Day
N 1
x[n]e
j 2 / N kn
n0
1 N 1
x[n] Xk e j 2 / Nkn
N k 0
Copyright (C
e j 2 / NNk e j2 k 1
Multiply DFT equation with this factor
Xk e
Define
j 2 / N kN
yk n
N 1
x[r]e
j 2 / N rn
r 0
N 1
x[r]e
j 2 / N r N n
r 0
j 2 / N k n r
x
[
r
]
e
un r
With this definition and using x[n]=0 for n<0 and n>N-1
Xk yk n n N
X[k] can be viewed as the output of a filter to the input x[n]
Impulse response of filter:
e j 2 / Nknun
X[k] is the output of the filter at time n=N
Copyright (C
Hk z
1e
2
k
N
z 1
Computational complexity
4N real multiplications
2N real additions
Slightly less efficient than the direct method
Hk z
Copyright (C
1e
2
j k
1
N
1 e z
2
k
N
z 1
2
k
N
1e
z 1
2
2k 1
j k
2
1
N
1
2
cos
z
1e
z
N
2
k
N
1e
z 1
Hk z
2k 1
1 2 cos
z z 2
N
Complexity for one DFT coefficient
Poles: 2N real multiplications and 4N real additions
Zeros: Need to be implement only once
4 real multiplications and 4 real additions
Copyright (C
Xk
N 1
x[n]e
j 2 / N kn
n0
N 1
x[n]e
j 2 / N kn
n even
N 1
j 2 / N kn
x
[
n
]
e
n odd
Xk
N / 2 1
x[2r]W
2rk
N
r 0
N / 2 1
x[2r]W
Gk W Hk
rk
N/2
r 0
N / 2 1
x[2r 1]W
2r 1 k
N
r 0
k
N
N / 2 1
x[2r 1]W
r 0
rk
N/2
k
N
Copyright (C
Decimation In Time
8-point DFT example using
decimation-in-time
Two N/2-point DFTs
2(N/2)2 complex multiplications
2(N/2)2 complex additions
Total complexity
N2/2+N complex multiplications
N2/2+N complex additions
More efficient than direct DFT
Copyright (C
Copyright (C
Complexity:
Nlog2N complex multiplications and additions
Copyright (C
Butterfly Computation
Flow graph constitutes of butterflies
Copyright (C
10
In-Place Computation
Decimation-in-time flow graphs require two sets of registers
Input and output for each stage
X 0 0 x0 X 0 000 x000
X 0 1 x 4 X 0 001 x100
X 0 2 x2 X0 010 x010
X 0 3 x6 X0 011 x110
X 0 4 x1 X 0 100 x001
X 0 5 x5 X 0 101 x101
X 0 6 x3 X0 110 x011
X 0 7 x7 X0 111 x111
Copyright (C
11
N 1
nk
x
[
n
]
W
n0
Split the DFT equation into even and odd frequency indexes
X2r
N 1
x[n]W
n2r
N
n0
N / 2 1
x[n]W
n0
n2r
N
N 1
n2r
x
[
n
]
W
n N / 2
N / 2 1
x[n]W
n0
n2r
N
N / 2 1
x[n N / 2]W
n N / 2 2r
n0
N / 2 1
n0
nr
N/2
Copyright (C
N / 2 1
n0
n 2r 1
N/2
12
Copyright (C
13