Unit 1
Unit 1
(BEC-42)
Unit-1
UNIT-I
• Discrete Fourier Transforms: Definitions, Properties of the
DFT, Circular Convolution, Linear Convolution
• Fast Fourier Transform Algorithms: Introduction,
Decimation in Time (DIT) Algorithm, Computational
Efficiency, Decimation in Frequency (DIF) Algorithm.
UNIT-II
IIR Filter Design: Structures of IIR – Analog filter design –
Discrete time IIR filter from analog filter – IIR filter design by
Impulse Invariance, Bilinear transformation, Approximation of
derivatives – (LPF, HPF, BPF, BRF) filter design using
frequency translation.
UNIT-IV
• Realization of Discrete Time Systems: FIR systems – Direct
form, cascaded, parallel and lattice structures, IIR systems –
Direct form, cascaded, parallel, lattice and lattice ladder
structures
• Finite Word length Effects: Quantization effect in filter
coefficients, round-off effect in digital filters
A T=1/f
-1
0 2 4 6 8 10
Signal Processing:
Analog Analog
input output
signal signal
A/D Digital D/A
converter Signal Processor converter
Flexibility in reconfiguring
Medical
Medical image storage and retrieval
Deterministic Signals
A deterministic signal behaves in a fixed known way with respect
to time. Thus, it can be modeled by a known function of time t for
continuous time signals, or a known function of a sampler number
n, and sampling spacing T for discrete time signals.
The discrete time signal x[nT] is periodic if and only if there exists
an N > 0 such that
x[nT + N] = x[nT]
where N is the period of the signal in number of sample spacing.
Example:
Even
Odd Odd
Digital Signal Processing(BEC-42)
Causal and Non-causal Signals
1 for n 0
( n)
0 for n 0
1 for n 0
u ( n)
0 for n 0
real part
Imaginary part
Examples:
➢ A circuit involving a capacitor can be viewed as a system that
transforms the source voltage (signal) to the voltage (signal)
across the capacitor
➢ A CD player takes the signal on the CD and transforms it into a
signal sent to the loud speaker
➢ A communication system is generally composed of three sub-
systems, the transmitter, the channel and the receiver. The
channel typically attenuates and adds noise to the transmitted
signal which must be processed by the receiver
How is a System Represented?
➢ A system takes a signal as an input and transforms it into
another signal
x k h n − k = x k h k
k =−
Stable & Unstable Systems
y[n] = signx[n]
Sign
y[n] = x[n − no ]
System Properties
𝐻
Notation: Let H represent the system, 𝑥 𝑡 ՜ 𝑦 𝑡 represent
a system with input 𝑥 𝑡 and output 𝑦 𝑡 .
1. DTFT (Discrete Time Fourier Transform) for sequences having infinite duration
which relate the time and frequency domain
2. DFT (Discrete Fourier Transform) for sequences having finite duration.
The Discrete Time Fourier Transform (DTFT)
Given a sequence x(n) having infinite duration, we define the DTFT as follows:
+
X () = DTFT x(n) = x ( n ) e − j n
n =−
x ( n) X ( )
….. …..
N −1 n −
discrete time continuous frequency
Observations:
• The frequency is the digital frequency and therefore it is limited to the interval
− +
Recall that the digital frequency is a normalized frequency relative to the sampling frequency,
defined as
F
= 2
Fs
one period of X ( )
− Fs − Fs / 2 0 Fs / 2 Fs F
− 2 − 0 2
Example:
DTFT
x[n]
1
0 N −1 n
since
N −1
1 − e − j N
X ( ) = e − j n
=
n =0 1 − e − j
sin( N / 2 )
= e − j ( N −1) / 2
sin( / 2 )
Example:
X ( ) = A e j ( − 0) +
x[n] = A cos( 0n + ) + A e − j ( + 0)
Frequency Domain Sampling: Discrete Fourier Transform (DFT)
where
N −1
X (k ) = x(n) wN ,wN = e − j 2 / N
kn
n =0
x DFT
X
Definition (Inverse Discrete Fourier Transform): Given a sequence
where
N −1
1
x ( n) =
N
X (k )w
k =0
N
− kn
, wN = e − j 2 / N
X x
IDFT
Observations:
• The DFT and the IDFT form a transform pair.
x DFT
X
x[0] X [ 0] 1
x[1] X [1] w− k
x= , X = DFT {x} = ek = N ,
− k ( N −1)
x[ N − 1] X [ N − 1] wN
Then:
x
X [k ] = ek*T x
ek 1
X [k ]ek
x=
1
( X [0]e0 + X [1]e1 + ... + X [ N − 1]eN −1 ) N
N
X [0] 1 1 1 x[0]
X [1] 1 w w N −1 x[1]
X = DFT {x} = = N N
N −1 ( N −1)( N −1)
− −
X [ N 1] 1 w w x[ N 1]
N
N
WN
X = WN x
1 *T
x = WN X
N
WN−1
Example: Find the inverse DFT of X(k) ={1,2,3,4 }.
1
= 1 + 2𝑒 𝑗𝜋 + 3𝑒 𝑗2𝜋 + 4𝑒 𝑗3𝜋
4
1 1 1
= 1 + 2 −1 + 3 1 + 4 −1 = −2 = −
4 4 2
When n=3
3
1
𝑥(3) = 𝑋 𝑘 𝑒 𝑗3𝜋𝑘/2
4
𝑘=0
1
= 1 + 2𝑒 𝑗3𝜋/2 + 3𝑒 𝑗3𝜋 + 4𝑒 𝑗9𝜋/2
4
1 1 1 1
= 1 + 2 −𝑗 + 3 −1 + 4 𝑗 = −2 + 𝑗2 = − + 𝑗
4 4 2 2
5 1 1 1 1 1
𝑥 𝑛 = ,− − 𝑗 ,− ,− + 𝑗
2 2 2 2 2 2
Properties of the DFT
1. Periodicity
If X(k) is an N-point DFT of x(n),then
2.Linearity
If X1 (k) and X2 (k) are an N-point DFTs of x1 (n) and x2 (n)
respectively, and a and b are arbitrary constants either real or complex-
valued ,then
𝐷𝐹𝑇
a x1 (n) +bx2 (n) a X1 (k)+bX2 (k)
3.Shifting Property
Let 𝑥𝑝 (n)is a periodic sequence with period N, which is obtained by extending
x(n)periodically,
∞
𝑥𝑝 𝑛 = 𝑥(𝑛 − 𝐼𝑁)
𝑙=−∞
Now ,Shift he sequence 𝑥𝑝 (n)by k units to the right. Let the resultant signal be
expressed as
∞
Hence, if two signals are converted in the time domain, then it is equivalent to
multiplying their spectra in the frequency domain.
5. Time Reversal of a sequence
DFT
If x(n) X(k), then
N
DFT
x(-n,(mod N))=x(N-n) ) X(-k,(mod N))=X(N-k)
N
Hence, when the N-point sequence in time is reversed, it is equivalent to reversing
the DFT values.
6.Circular Time Shift
DFT
If x1(n) X1(k), then
N
DFT 𝑗2𝜋𝑘𝑙
−
X(n-l,(mod N)) X k 𝑒 𝑁
N
Shifting of the sequence by l units in the time-domain is equivalent to
𝑗2𝜋𝑘𝑙
multiplication of 𝑒− 𝑁 in the frequency domain.
7.Circular Frequency Shift
DFT
If x(n) X(k), then
N
𝑗2𝜋𝑙𝑛 DFT
x n 𝑒 𝑁 X(k-l,(mod N))
N
8.Complex Conjugate Property
DFT
If x(n) X(k), then
N
DFT
x*(n) X*(-k,(mod N)) =X*(N-k)
N
∗
𝑁−1 𝑁−1
IDFT 1 ∗ 𝑗2𝜋𝑘𝑛/𝑁
1
X∗(k) 𝑋 (k)𝑒 = 𝑋(𝑘)𝑒 −𝑗2𝜋𝑘(𝑁−𝑛)/𝑛
𝑁 𝑁
𝑘=0 𝑘=0
Hence,
DFT
𝑥 ∗ (-n,(mod N))=𝑥 ∗ (N-n) X*(k)
| N
9.Circular Convolution
DFT DFT
If 𝑥1 (n) 𝑋1 (k), and 𝑥2 (n) 𝑋2 (k), then
N N
DFT
𝑥1 𝑛 N 𝑥2 (n) 𝑋1 (k)𝑋2 (k)
N
Where 𝑥1 𝑛 N 𝑥2 (n) denotes the circular convolution of the sequence
𝑥1 𝑛 𝑎𝑛𝑑 𝑥2 (n) defined as
N−1
x3 n = x1 (m)x2 (n − m, mod N )
m=0
N−1
= x2 (m)x1 (n − m, mod N )
m=0
10.Circular Correlation
For complex- valued sequences x(n)and y(n),
DFT DFT
If x(n) N X(k), and y(n) N Y(k), then
DFT
𝑟𝑥𝑦 (l) 𝑅𝑥𝑦 (k)=X(k)Y*(k)
N
DFT DFT
If 𝑥1 (n) N 𝑋1 (k), and 𝑥2 (n) N
𝑋2 (k), then
DFT 1
𝑥1 (𝑛)𝑥2 (n) 𝑋 (k)
N 𝑁 1 N 𝑋2 (k)
12.Parseval’s Theorem
For complex-valued sequences x(n) and y(n),
DFT DFT
If x(n) X(k), and y(n) Y(k), then
N N
𝑁−1 𝑁−1
1
𝑥 𝑛 𝑦∗ 𝑛 = 𝑋 𝑘 𝑌 ∗ (𝑘)
𝑁
𝑛=0 𝑘=0
If y(n)=x(n), then the above equation reduces to
𝑁−1 𝑁−1
2
1 2
𝑥(𝑛) = 𝑋(𝑘)
𝑁
𝑛=0 𝑘=0
This expression relates the energy in the finite duration sequence x(n) to the
power in the frequency components X(k).
Circular Convolution (Periodic Convolution)
Consider the two sequences 𝑥1 (𝑛) and 𝑥2 (n) which are of finite duration. Let
𝑋1 (k) and 𝑋2 (k) be the N-point DFTs of the sequences respectively and they are
given by
N−1
2𝑗𝜋𝑛𝑘
−
𝑋1 𝑘 = 𝑥1 𝑛 𝑒 𝑁 , 𝑘 = 0,1, … … 𝑁 − 1,
n=0
N−1
2𝑗𝜋𝑛𝑘
−
𝑋2 𝑘 = 𝑥2 (𝑛)𝑒 𝑁 , 𝑘 = 0,1, … … 𝑁 − 1,
n=0
Let 𝑋3 (n) be another sequence of length N and its N-point DFT be 𝑋3 (k)
which is a product of 𝑋1 (k) and 𝑋2 (k),
𝑋3 𝑘 = 𝑋1 (𝑘)𝑋2 (k),k=0,1,…..N-1.
The sequence 𝑥3 (𝑛) can be obtained by taking the inverse DFT of 𝑋3 (𝑘),
𝑥3 (𝑚)= IDFT[𝑋3 (𝑘)]
N−1 N−1
1 2𝑗𝜋𝑚𝑘 1 2𝑗𝜋𝑚𝑘
= 𝑋3 (𝑘)𝑒 𝑁 = 𝑋1 (𝑘)𝑋2 𝑘 𝑒 𝑁
𝑁 𝑁
k=0 k=0
N−1 𝑁, 𝑓𝑜𝑟 𝑎 = 1
𝑎 𝑘 = ൞1 − 𝑎 𝑁
, 𝑓𝑜𝑟 𝑎 ≠ 1
k=0 1−𝑎
𝑗2𝜋(𝑚−𝑛−𝑙)
Where, a=𝑒 𝑁 ,when (𝑚 − 𝑛 − 𝑙) is a multiple of N. then a = 1, otherwise
𝑎𝑁 =1 for any value of a ≠ 0.
Therefore,
N−1
𝑁, 𝑙 = 𝑚 − 𝑛 + 𝑝𝑁, 𝑁 = 𝑚 − 𝑛 𝑚𝑜𝑑 𝑁 , 𝑝: 𝑖𝑛𝑡𝑒𝑔𝑒𝑟)
𝑎𝑘 = ቊ
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
k=0
𝑥3 𝑚 𝑏𝑒𝑐𝑜𝑚𝑒𝑠
N−1
𝑥3 𝑚 = 𝑥1 𝑛 𝑥2 𝑚 − 𝑛, 𝑚𝑜𝑑 𝑁 , 𝑚 = 0,1, … … . , 𝑁 − 1
k=0
, where 𝑥2 𝑚 − 𝑛, 𝑚𝑜𝑑 𝑁 is the reflected and circularly shifted version of 𝑥2 (𝑚)
and n represents the number of indices that the sequence x(n) is shifted to the right.
The above equation has a form similar to the convolution sum and it is
called circular convolution The circularly shifted versions of x(m) are
given below:
x(m) =[x(0),x(1)…x(N-3),x(N-2),x(N-1)]
It just noted that a shift of n=N results in the original signal x(m).
Matrix Multiplication Method
The circular convolution of two sequences x(n) and h(n) can be obtained by representing these
sequences in the matrix form as given below.
𝑥 0𝑥 𝑁−1 𝑥 𝑁 − 2 ….𝑥 2 𝑥 1 ℎ 0 𝑦 0
𝑥 1 𝑥 0 𝑥 𝑁 − 1 ……𝑥 2 𝑥 2 ℎ 1 𝑦(1)
𝑥 2𝑥 1 𝑥 0 ……………𝑥 4 𝑥 3 ℎ 2 𝑦(2)
….. . .
=
…… . .
…… . .
𝑥 𝑁−2 𝑥 𝑁−3 𝑥 𝑁 − 4 ….𝑥 0 𝑥 𝑁 − 1 ℎ 𝑁−2 𝑦 𝑁−2
𝑥 𝑁−1 𝑥 𝑁−2 𝑥 𝑁 − 3 ….𝑥 1 𝑥(0) ℎ 𝑁−1 𝑦(𝑁 − 1)
The sequence x(n) is repeated via circular path shift of samples and represented in
N×N matrix form. The sequence h(n) is represented as column matrix. The
multiplication of these two matrices gives the sequence y(n).
Linear Convolution vs Circular Convolution
Consider a finite duration sequence x(n) of length 𝑁1 which is given a input to an FIR
system with impulse response h(n) of length 𝑁2 . then the output is given by
y(n)=x(n)*h(n)
𝑁1 −1
= 𝑥 𝑘 ℎ 𝑛 − 𝑘 , 𝑛 = 0,1, … … . , 𝑁1 + 𝑁2 − 1
k=0
or
𝑁1 −1
Y(n)= 𝑥 𝑘 ℎ 𝑛 − 𝑘 , 𝑛 = 0,1, … … . , 𝑁1 + 𝑁2 − 1
k=0
In the frequency-domain,
Y(ꙍ)=H(ꙍ)X(ꙍ)
If the sequence y(n) has to be represented uniquely in the frequency domain by
samples of its spectrum Y(ꙍ) then
where X(k) and H(k) are the N-point DFTs of the sequence x(n) and h(n) respectively.
Since y(n) can be obtained by
Y(n)=IDFT X(k) H(k)
The N-point circular convolution of x(n) with h(n) must be equivalent to the linear
convolution of x(n) with h(n).
➢ Linear convolution of two sequences and x(n) and h(n) with lengths N1 and N2
respectively will give a sequence with a length of N≥N1+N2- 1
➢ When x(n) and h(n) have a duration less than N, for implementing linear
convolution using circle convolution N1- 1 and N2-1 zeros are padded (added) at
the end of x(n) and h(n) in respectively to increase their length to N.
Example
1,0 ≤ 𝑛 ≤ 𝑁 − 1
Let x1(n)=x2(n)=ቊ
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Find out the circular convolution of this sequence.
Solution:
𝑥1 0 𝑥1 𝑁 − 1 𝑥1 𝑁 − 2 … . 𝑥1 1 𝑥2 0 𝑥3 0
𝑥1 1 𝑥1 0 𝑥1 𝑁 − 1 … 𝑥1 1 𝑥2 1 𝑥3 (1)
…… . .
….. . .
=
…… . .
…… . .
𝑥1 𝑁 − 2 𝑥1 𝑁 − 3 𝑥1 𝑁 − 4 … 𝑥1 𝑁 − 1 𝑥2 𝑁 − 2 𝑥3 𝑁 − 2
𝑥1 𝑁 − 1 𝑥1 𝑁 − 2 𝑥1 𝑁 − 3 … 𝑥1 (0) 𝑥2 𝑁 − 1 𝑥3 (𝑁 − 1)
For the given sequences, the circular convolution x3(n) is determined by
1 1 1 . . . .1 1 𝑁
1 1 1 . . . .1 1 𝑁
. . . . . . . . .
. . . . . . . . .
=
. . . . . . . . .
. . . . . . . . .
1 1 1 . . . .1 1 𝑁
1 1 1 . . . .1 1 𝑁
Hence, x3(n) = (N,N… N,N)
Example: Compute (a) linear and (b)
circular periodic convolutions of the two
sequences x1 (n) ={1, 1,2,2} and
x2(n)={1,2,3,4}. (c) Also find circular
convolution using the DFT and IDFT.
Solution:
(a)Using matrix representation given as follows, the linear convolution of the two
sequences can be determined.
Hence, x3(n) = x1(n)*x2(n) ={1,3,7,13,14,14,8}
(b)Similarly, circular convolution of the two sequences is shown in Fig. E6, 15.
N−1
𝑥3 𝑚 = 𝑥1 𝑛 𝑥2 𝑚 − 𝑛, 𝑚𝑜𝑑 𝑁 , 𝑚 = 0,1, … … . , 𝑁 − 1
n=0
For m=0
3
𝑥3 0 = 𝑥1 𝑛 𝑥2 −𝑛, 𝑚𝑜𝑑 4
𝑛=0
𝑥2 −𝑛, 𝑚𝑜𝑑 4 𝑖𝑠 the sequence x2(n) folded. The folded sequence is obtained by
plotting x2(n) in a clockwise direction.
𝑥2 0, 𝑚𝑜𝑑 4 = x2(0)
𝑥2 −1, 𝑚𝑜𝑑 4 = x2(3)
𝑥2 −2, 𝑚𝑜𝑑 4 = x2(2)
𝑥2 −3, 𝑚𝑜𝑑 4 = x2(1)
x3(0) is obtained by computing the product sequence, i.e. multiplying the sequences
x1(n) and x2(- n, (mod 4)), point by point and taking the sum, we get x3(0)= 15.
For m=1:
3
𝑥3 1 = 𝑥1 𝑛 𝑥2 1 − 𝑛, 𝑚𝑜𝑑 4
n=0
x2(1-n, (mod 4)) is the sequence 𝑥2 (-n ,(mod 4)) rotated counterclockwise by one unit
in time. From the product sequence, the sum is x3(1) = 17.
For m=2:
3
𝑥3 2 = 𝑥1 𝑛 𝑥2 2 − 𝑛, 𝑚𝑜𝑑 4
n=0
x2(2- n, (mod 4)) is the sequence x2(-n, (mod 4)) rotated counterclockwise by two units
in time. From the product sequence, the sum is x3(2) = 15.
For m= 3:
3
𝑥3 3 = 𝑥1 𝑛 𝑥2 3 − 𝑛, 𝑚𝑜𝑑 4
n=0
x(3- n,(mod 4)) is the sequence x2(- n, (mod 4)) rotated counterclockwise by three units
in time, From the product sequence, the sum is x3(3) = 13.
Hence, the circular convolution of the two sequences x1(n) and x2(n) is
x3(n)= {15,17,15,13}
(c) Here the DFT and IDFT are used for finding circular convolution
X3(k)= X1(k) X2 (k)
And
N−1
1 2𝑗𝜋𝑘
x3(n) = 𝑋3 𝑘 𝑒 𝑁 , n=0,1,….,N−1
𝑁
k=0
(i)When x1(n) = [1, 1, 2, 2]
N−1
−2𝑗𝜋𝑛𝑘
X1(k) = 𝑥1 (𝑛)𝑒 𝑁 , k=0,1,….,N−1
n=0
For N=4
3
−2𝑗𝜋𝑛𝑘
X1(k) = 𝑥1 (𝑛)𝑒 4 , k=0,1,23
n=0
For k=0
3
−2𝑗𝜋𝑛 0
X1(0) = 𝑥1 𝑛 𝑒 4 =6
n=0
For k=1
3
−𝑗𝜋𝑛
X1(1) = 𝑥1 (𝑛)𝑒 2
n=0
−𝑗𝜋 −𝑗3𝜋
=1+𝑒 2 +2𝑒 −𝑗𝜋 + 2𝑒 2 = 1- j+2(-1) + 2(j)= -1 + j
For k=2
3
X1(1) = 𝑥1 𝑛 𝑒 −𝑗3𝑛𝜋/2
n=0
= 1+ 𝑒 −𝑗3𝜋/2 + 2𝑒 −𝑗3𝜋 + 2𝑒 −𝑗𝑛/2 = 1+ j+2 (-1) – j (2) = -1- j
𝑋1 𝑘 = {6, −1 + 𝑗, 0, −1 − 𝑗}
(ii) When x2(n) = {1, 2, 3,4}
1
x3(0) = 60 + −4𝑗 + (4𝑗) = 15
4
1 1
x3(1) = 60 − 4𝑗𝑒 𝑗𝜋/2 + 4𝑗 𝑒 𝑗3𝜋/2 == 60 − 4𝑗(+𝑗) + 4𝑗 −𝑗
4 4
1
= 60 + 4 + 4 =17
4
1
x3(2) = 60 − 4𝑗𝑒 𝑗𝜋 + 4𝑗 𝑒 𝑗3𝜋
4
1
= 60 − 4𝑗(−1) + 4𝑗 −1 =15
4
1
X3(3) = 60 − (4𝑗)𝑒 𝑗3𝜋/2 + 4𝑗 𝑒 𝑗9𝜋/2
4
1
= 60 + 4𝑗(−4𝑗)(−𝑗) + 4𝑗 −𝑗
4
1
= 60 − 4 − 4 =13
4
let WN be the complex-valued phase factor, which is an Nth root of unity expressed by
WN=
WN nk =
Decimation-in-Time(DIT) Algorithm
In this case, let us assume that x(n) represents a sequence of N values, where N is an
integer power of 2, that is, N= , The given sequence is decimated (broken) into two
N-point sequence consisting of the even numbered values of x(n) and the odd
numbered values of x(n).
Breaking x(n) into its even and odd numbered values, we obtain
=G(k)+
where G(k) and H(k) are the N/2-point DFTs of the even and odd numbered
sequences respectively.
-1 since G(K) and H(k) are considered
period with period N/2.
Therefore,
Using the symmetry property of =-
X(0) is obtained by multiplying H(0) by and adding the product to G(0). X(1) is
obtained y multiplying H(1) by and adding that result to G(1). For X(4),H(4) is
multiplied by and the result is added to G(4). But, since G(k) and H(k) are both
periodic in k with period 4,H(4)=H(0) and G(4) = G (0). Therefore, X(4) is obtained by
multiplying H(0) by and adding the result to G(0).
G(k)=A(k)+ B(k)
Where A(k)is the (N/4)-point DFT of even numbers ,B(k)is the (N/4)-point DFT of odd numbers
H(k)=C(k)+ D(K)
Figure:2 Flow Graph of second Decimation in time FFT algorithm for
N=8
We get
For k=0, G(0)= A(0) +
For k=1, G(1)= A(1) +
For k=2, G(2)= A(2) +
For k=3, G(3)= A(3) +
Therefore,
F(0)=f (0) + f(1) =f (0) + f(1)
F(1)=f (0) + f(1) =f (0) - f(1)
The corresponding flow graph of a 2-point DFT is shown in above Figure 3.
we know that
Using DIT FFT algorithm, we can find X(k) from the given sequence x(n)as shown
figure
Decomposing the sequence in the frequency domain , X(k), into an even numbered
subsequence X(2r) and an odd numbered subsequence X(2r + 1) where
r=0,1,2, ..(N/2 -1),yields
= ] (3)
g(0)=x(0)+x(4) h(0)=x(0)-x(4)
g(1)=x(1)+x(5) h(1)=x(1)-x(5)
g(2)=x(2)+x(6) h(2)=x(2)-x(6)
g(3)=x(3)+x(7) h(3)=x(3)-x(7)
The flow graph of the first stage of an 8 point DFT computation scheme defined by
Eqs(3)and (4) is shown in Fig.1
Equation (3) is
Therefore,
When r = 2l + 1(odd),
Figuar:1 Flow Graph of the First Stage of Decimation-in-Frequency
FFT for N=8
Where B(n)=g(n)
Figure 6.9 shows the flow-graph of the second stage of decimation in frequency
decomposition of an 8-point DFT into four 2-point DFT computations.
A= a + b
B=(a b )
Example : Given x(n)={1,2,3,4,4,3,2,1}, find X(k) using DIF FFT
algorithm.
We know tha
Hence,
Using DIF FFT algorithm, we can find X(k) from the given sequence x(n) as
shown in Fig
=1 =0
=-1 =-1
=1 =1
=-1 =0
=0 =1
=1 =1
=-1 =0
=1 =1
=-1 =-1
Folded sequence
=0 =0
=1
=1
=1
=-1
=0
=1
=-1 =0
Folded sequence
=0 =-1
rotated by one
unit in time
=0
=1
=-1 =1
=1 =-1
=-1 =1
Folded sequence
rotated by two
=0 =0 unit in time
=1 =-1
=-1
=0
=1
=0
=-1
=1
Folded sequence
=0 rotated by three
=1
unit in time
=1 =0
=-1
=-1
=1
=1
=-1
=0
=0 Folded sequence
=1
rotated by four
unit in time
Therefore,