0% found this document useful (0 votes)
17 views155 pages

DFT 3 Unit

The document discusses the discrete Fourier transform (DFT) and some of its properties. It begins by explaining that DFT is used when we have a finite amount of data, unlike the discrete-time Fourier transform (DTFT) which requires infinite data. DFT looks at a finite segment of data through a window. It then provides the mathematical definition of DFT and notes that the frequency points are spaced by 2π/N. It also introduces the inverse DFT and mentions some DFT properties like linearity and periodicity.

Uploaded by

kalevaibhav436
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views155 pages

DFT 3 Unit

The document discusses the discrete Fourier transform (DFT) and some of its properties. It begins by explaining that DFT is used when we have a finite amount of data, unlike the discrete-time Fourier transform (DTFT) which requires infinite data. DFT looks at a finite segment of data through a window. It then provides the mathematical definition of DFT and notes that the frequency points are spaced by 2π/N. It also introduces the inverse DFT and mentions some DFT properties like linearity and periodicity.

Uploaded by

kalevaibhav436
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 155

Discrete Fourier Transform

• We often do not have an infinite amount of data which is required by


DTFT
• For example in a computer we cannot calculate uncountable infinite
(continuum) of frequencies as required by DTFT
• Thus, we use DTF to look at finite segment of data
• We only observe the data through a window

• In this case the xo[n] is just a sampled data between n=0, n=N-1 (N points)
Discrete Fourier Transform

• It turns out that DFT can be defined as

• Note that in this case the points are spaced 2pi/N; thus the resolution
of the samples of the frequency spectrum is 2pi/N.

• We can think of DFT as one period of discrete Fourier series


A short hand notation

remember:
Inverse of DFT

• We can obtain the inverse of DFT

• Note that
• Find DFT of sequence x(n)={1,0,2,3}
Ans
• 1)X(k)={6,-1+3j,0,-1-3j}
2)Find DFT of sequence x(n)={1,0,-1,2}
Ans

X(k)={2,2+2j,-2,2-2j}
Find IDFT of sequence
• X(k)={4,1-j,-2,1+j}
Ans
• X(n)={1,2,0,1}
DFT of Standard Signals
DFT Properties
1)Graphical Method
2)Matrix Method
• Find circular convolution using graphical method

X(n)={1,2,1,-2}
H(n)={3,-2,1,-3}
Ans:-
• Y(n)={2,-1,6,-9}
Circular Convolution using Matrix Method
Perform circular convolution using graphical and matrix method

X1(n)={1,2,2,1}
X2(n)={1,2,3,1}
Matrix method
• https://www.slideshare.net/sarang1689/circular-convolution
Linear Convolution
Y1[n]={-1,0,3,2,2}
Y2[n]={4,1,0,4,6}
Y3[n]={6,7,5,3,3}
y4[n]={1,3,4,3,1}
Y(n)={3,2,2,0,4,6,5,3,3,4,3,1}
Overlap save
• https://www.slideshare.net/GourabGhosh4/overlap-add-overlap-
savedigital-signal-processing
Find output y(n) using overlap add method
• X(n)={3,-1,0,1,3,2,0,1,2,1}
• H(n)={1,1,1}

• Let length of data block=3


• Two zeros are added to bring length of block =5
• L+M-1=5
• x1[n]={3,-1,0,0,0}
• x2[n]={1,3,2,0,0}
• x3[n]={0,1,2,0,0}
• x4[n]={1,0,0,0,0}

• y1[n]={3,2,2,-1,0}
• y2[n]={1,4,6,5,2}
• y3[n]={0,1,3,3,2}
• y4[n]={1,1,1,0,0}
Overlap add
3 2 2 -1 0
1 4 6 5 2
0 1 3 3 2
1 1 1 0 0

3 2 2 0 4 6 5 3 3 4 3 1 0 0
• Find linear convolution using overlap save and overlap add method
X(n)={1,2,-1,2,3,-2,-3,-1,1,1,2,-1}
H(n)={1,2,3}
Discrete Cosine Transform
DCT for One dimensional , F=C*f
DCT for Two dimensional (image), F=C*f*C’
• Find the DCT of following sequence
X(n)={1,3,5,7}
Answer

F={8,-4.459,0,-0.317}
• Find the DCT of following image ,

2 4 4 2
4 6 8 3
2 8 10 4
3 8 6 2
Answer

1.9 -0.2705 -8 0.653


-2.6913 -0.2498 2.3087 0.8957
-3.5 1.464 1.5 -1.6885
0.327 -1.6027 0.956 -0.2448
4 point DFT
• https://youtu.be/5LERZVZGw60

• https://youtu.be/PLTpmCmBd60

• https://youtu.be/50WsFvNgtzc

• https://youtu.be/aWnpTJ-uNEA
DIT FFT
• https://youtu.be/fCTfKL3XIuA

• https://youtu.be/RioJKiSBlyg
Bit Reversing

• Note that the inputs have been shuffled so that the outputs are
produced in the correct order.
• This can be represented as a bit-reversing process:

Time Point Binary Word Reversed-Bit Word Order


(n)
0 000 000 x[0]

1 001 100 x[4]

2 010 010 x[2]

3 011 110 x[6]

4 100 001 x[1]

5 101 101 x[5]

6 110 011 x[3]

7 111 111 x[7]


FFT Algorithms - Four point FFT

The general form:


• https://slideplayer.com/slide/18059528/

You might also like