SlideShare a Scribd company logo
1 of 21
Discrete Fourier Transform
           (DFT)


   Presented by: SHAHRYAR ALI
Discrete Time FT (DTFT)
 DTFT defined as:                           Note: continuous frequency domain!
                                               (frequency density function)

        s
     si           +∞
   ly
 na
a     S(f) =      ∑ s[n] ⋅ e − j 2 π f n
                 n = −∞                           Holds for Aperiodic
                                                        signals

        is
     hes               2π
  nt              1
sy      s[n] =      ⋅ ∫ S(f)e j 2 π f ndf
                 2π
                       0
Problem With DTFT
– Defined for infinite-length sequences.

– From numerical computation viewpoint:
  “It is troublesome as one has to evaluate infinite sums at
                uncountable infinite frequencies”

– To use Matlab, we have to truncate sequences and then
  evaluate the expression at many finite points.
Therefore:
• We turn our attention to a numerically computable
  transform.

• It is obtained by sampling the DTFT transform in the
  frequency domain (or the z-transform on the unit circle).


But..
• We know that a periodic function can always be
  represented by:
    “A linear combination of harmonically related complex
                        exponentials”
The Discrete Fourier Series
• So we have Discrete Fourier Series representation.

• Definition: Periodic sequence.

       ~ (n) = ~ (n + kN ), ∀n, k
       x       x

N: the fundamental period of the sequences
Discrete Fourier Series

Analysis equation:

                ~         N −1
                           ~[n]e − j( 2 π / N)kn
                X[k ] =   ∑x
                          n=0
Synthesis equation:


                ~[n] = 1 N −1 ~
                x        ∑    X[k ]e j( 2 π / N)kn
                       N k =0
• For convenience we sometimes use:

                                   − j( 2 π / N )
                     WN = e
So..
                  ~         N −1
                             ~[n]Wkn
                  X[k ] =   ∑x N
                            n=0
   ~
 { X ( K ), k = 0,±1, } called the discrete Fourier series
                       are
 coefficients.

                  ~[n] = 1
                           N −1
                                ~
                  x        ∑    X[k ]WN kn
                                      −

                         N k =0
Properties of DFS
• Linearity
                   ~ [n]                        ~
                   x1             ← DFS →
                                             X1 [k ]
                   ~ [n]                       ~
                   x 2            ← DFS →
                                             X2 [k ]
                                           ~           ~
              a~1 [n] + b~2 [n]
               x         x        ← DFS → aX1 [k ] + bX2 [k ]
                                    


• Shift of a Sequence
                   ~[n]                     ~
                    x              ← DFS →
                                         X[k ]
                   ~
                    X[n]           ← DFS → N~[ − k ]
                                         x

• Duality
                         ~[n]                       ~
                          x            DFS
                                     ←  →
                                                   X[k ]
                     ~[n − m]                             ~
                      x              ←  → e − j2 πkm / NX[k ]
                                       DFS
                                         
                   e j2 πnm / N~
                               x [n] ← → ~[k − m]
                                       DFS
                                              X
The Fourier Transform of Periodic Signals

• Periodic sequences are not absolute or square summable
   – Hence they don’t have a Fourier Transform.
• We can represent them as sums of complex exponentials:
  DFS.
• We can define a periodic signal whose primary shape is
  that of the finite duration signal .
• We then use the DFS on this periodic signal.
• So we define a new transform called the Discrete Fourier
  Transform (DFT), which is the primary Period of the DFS.
Discrete Fourier Transform (DFT)
Discrete Fourier Transform (DFT)
• Discrete Fourier transform (or DFT) takes a finite number
  of samples of a signal.

• It then transforms them into a finite number of
  frequency samples .

• The discrete Fourier transform does not act on signals
  that exist at all time.

• The DFT can be used in practice using a fast Fourier
  transform (FFT) algorithm.
Fourier analysis
                                                                                                           Input Time Signal          Frequency spectrum
2.5

 2

1.5

 1

0.5


 0
      0           1               2           3        4       5               6        7         8
                                                                                                                          Periodic    FS       Discrete
                                              time, t
                                                                                                           Continuous    (period T)
2.5

 2

1.5                                                                                                                     Aperiodic     FT     Continuous
 1


0.5

 0
      0               2                   4            6           8               10            12

                                              time, t




      2.5

          2




                                                                                                                                      DFS     Discrete
      1.5




                                                                                                                        Periodic
          1

      0.5

          0



                                                                                                                        (period T)
              0           1           2            3       4           5           6         7        8

                                               time, tk

                                                                                                           Discrete
                                                                                                                                      DTFT    Continuous
      2.5

          2




                                                                                                                        Aperiodic
      1.5

          1

      0.5

          0


                                                   time, tk
                                                                                                                                       DFT
              0               2                4           6               8            10            12




                                                                                                                                              Discrete
Discrete Fourier Transform (DFT)
Definition: The Discrete Fourier Transform (DFT) is defined by:


                                            Where n = 0, 1, 2, …., N-1




  The Inverse Discrete Fourier Transform (IDFT) is defined by:


                                               where k = 0, 1, 2, …., N-1.


     Same form of DFS but for aperiodic signals.
     Signal treated as periodic for computational purpose only.
Sample X at N points
                                       O<w<2π
                           x(2)
                              x(1)
                                x(o)     w



                       x(N-1)
DFT at work
• To see how DFT equation actually works in practice,
  let’s do a simple example - calculate DFT of 4
  element sequence, x(n)={1,1,0,0}

    for k=0
           4−1
X ( 0 ) = ∑ x ( n ) e− j 2π ×0×n 4
           n= 0

        = x ( 0 ) e − j 2π ×0×0 4 + x ( 1) e − j 2π ×0×1 4 + x ( 2 ) e− j 2π ×0×2 4 + x ( 3) e − j 2π ×0×3 4
        = 1×e− j 2π ×0×0 4 + 1×e− j 2π ×0×1 4 + 0 ×e − j 2π ×0×2 4 + 0 ×e− j 2π ×0×3 4
        =2
DFT at work
      for k=1
X ( 1) = x ( 0 ) e − j 2π ××0 4 + x ( 1) e − j 2π ×× 4 + x ( 2 ) e − j 2π ××2 4 + x ( 3) e − j 2π ××3 4
                          1                       11                      1                       1


        = 1×e − j 2π ××0 4 + 1 ×e − j 2π ×× 4 + 0 ×e − j 2π ××2 4 + 0 ×e − j 2π ××3 4
                     1                   11                 1                   1


                   π         π 
        = 1 +  cos  ÷− j sin  ÷÷
                   2         2 
        = 1− j

• Following the same procedure we also get:
     X ( 2) = 0             X ( 3) = 1 + j


• The result:                                DFT({1,1,0,0})={2,1+j,0,1-j}
DFT Properties
                     Time                        Frequency
Linearity            a·s[n] + b·u[n]            a·S(k)+b·U(k)


                                                1 N−1
Multiplication         s[n] ·u[n]                ⋅ ∑S(h)U(k - h)
                                                N h =0


                     N− 1
Convolution                                      S(k)·U(k)
                      ∑ s[m] ⋅ u[n − m]
                     m= 0

Time shifting             s[n - m]
                                                     2π k ⋅m
                                                −j
                                            e          T     ⋅ S(k)
Frequency shifting                              S(k - h)
                               2π h t
                          +j
                      e          T ⋅ s[n]
s[n]
                                                  S(f)
 (a)                                                                                    (b)


                                              0       T/2     T                2T       f

       s”[n]      IDFT
                                                      DFT
(c)                                                                                     (d)
                   (e)
                                                       (f)           cK




  (a) Aperiodic discrete signal.               (b) DTFT transform magnitude.
  (c) Periodic version of (a).                 (d) DFS coefficients = samples of (b).
  (e) Inverse DFT estimates a single period of s[n]

  (f) DFT estimates a single period of (d).
Why DFT is important?
 To find the frequency content of a signal.
   • To design an audio format (e.g., CD audio).
   • To design a communications system (what bandwidth is
     required?).

 To determine the frequency response of a structure.
   • A musical instrument.
The Fast Fourier Transform

• The fast Fourier transform (FFT) is simply a class of
  special algorithms which implement the discrete Fourier
  transform .

• It calculates with considerable savings in computational
  time.

• Maximum efficiency of computation is obtained by
  constraining the points to be an integer power of two,
  e.g. 1024 or 2048.
QUESTIONS???

More Related Content

What's hot

Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transformMOHAMMAD AKRAM
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)Amr E. Mohamed
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transformNisarg Amin
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignAmr E. Mohamed
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filtersop205
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersAmr E. Mohamed
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level codingsrkrishna341
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier TransformWaqas Afzal
 
Chapter4 - The Continuous-Time Fourier Transform
Chapter4 - The Continuous-Time Fourier TransformChapter4 - The Continuous-Time Fourier Transform
Chapter4 - The Continuous-Time Fourier TransformAttaporn Ninsuwan
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windowsSarang Joshi
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and InterpolationFernando Ojeda
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions ssuser2797e4
 
multirate signal processing for speech
multirate signal processing for speechmultirate signal processing for speech
multirate signal processing for speechRudra Prasad Maiti
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_designshrinivasgnaik
 

What's hot (20)

Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transform
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transform
 
OPERATIONS ON SIGNALS
OPERATIONS ON SIGNALSOPERATIONS ON SIGNALS
OPERATIONS ON SIGNALS
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter Design
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
Multirate DSP
Multirate DSPMultirate DSP
Multirate DSP
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier Transform
 
DFT and IDFT Matlab Code
DFT and IDFT Matlab CodeDFT and IDFT Matlab Code
DFT and IDFT Matlab Code
 
Chapter4 - The Continuous-Time Fourier Transform
Chapter4 - The Continuous-Time Fourier TransformChapter4 - The Continuous-Time Fourier Transform
Chapter4 - The Continuous-Time Fourier Transform
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windows
 
Properties of Fourier transform
Properties of Fourier transformProperties of Fourier transform
Properties of Fourier transform
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions
 
multirate signal processing for speech
multirate signal processing for speechmultirate signal processing for speech
multirate signal processing for speech
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 

Viewers also liked

Twas the night before Malware...
Twas the night before Malware...Twas the night before Malware...
Twas the night before Malware...DoktorMandrake
 
New student orientation! (without videos)
New student orientation! (without videos)New student orientation! (without videos)
New student orientation! (without videos)Mazi Mutafa
 
Pwp week 3
Pwp week 3Pwp week 3
Pwp week 3LisaR92
 
Pwp week 4
Pwp week 4Pwp week 4
Pwp week 4LisaR92
 
Pwp week 5
Pwp week 5Pwp week 5
Pwp week 5LisaR92
 
Walt disney world slide show
Walt disney world slide showWalt disney world slide show
Walt disney world slide showevildiem
 

Viewers also liked (6)

Twas the night before Malware...
Twas the night before Malware...Twas the night before Malware...
Twas the night before Malware...
 
New student orientation! (without videos)
New student orientation! (without videos)New student orientation! (without videos)
New student orientation! (without videos)
 
Pwp week 3
Pwp week 3Pwp week 3
Pwp week 3
 
Pwp week 4
Pwp week 4Pwp week 4
Pwp week 4
 
Pwp week 5
Pwp week 5Pwp week 5
Pwp week 5
 
Walt disney world slide show
Walt disney world slide showWalt disney world slide show
Walt disney world slide show
 

Similar to Discrete Fourier Transform

Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representationNikolay Karpov
 
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)TANVIRAHMED611926
 
Fourier series Introduction
Fourier series IntroductionFourier series Introduction
Fourier series IntroductionRizwan Kazi
 
Signal Processing Course : Fourier
Signal Processing Course : FourierSignal Processing Course : Fourier
Signal Processing Course : FourierGabriel Peyré
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4HIMANSHU DIWAKAR
 
6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdfshruti533256
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
Block Cipher vs. Stream Cipher
Block Cipher vs. Stream CipherBlock Cipher vs. Stream Cipher
Block Cipher vs. Stream CipherAmirul Wiramuda
 
IVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersIVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersCharles Deledalle
 
Unit vii
Unit viiUnit vii
Unit viimrecedu
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
Fast Fourier Transform (FFT) Algorithms in DSP
Fast Fourier Transform (FFT) Algorithms in DSPFast Fourier Transform (FFT) Algorithms in DSP
Fast Fourier Transform (FFT) Algorithms in DSProykousik2020
 
Learning object 1
Learning object 1Learning object 1
Learning object 1Ina Na
 

Similar to Discrete Fourier Transform (20)

Fourier transform
Fourier transformFourier transform
Fourier transform
 
Dft
DftDft
Dft
 
lecture_16.ppt
lecture_16.pptlecture_16.ppt
lecture_16.ppt
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
 
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)
1 周期离散时间信号的频域分析1——离散傅立叶级数(dfs)(在线版)
 
Fourier series Introduction
Fourier series IntroductionFourier series Introduction
Fourier series Introduction
 
Signal Processing Course : Fourier
Signal Processing Course : FourierSignal Processing Course : Fourier
Signal Processing Course : Fourier
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4
 
6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Block Cipher vs. Stream Cipher
Block Cipher vs. Stream CipherBlock Cipher vs. Stream Cipher
Block Cipher vs. Stream Cipher
 
IVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersIVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filters
 
Introduction to chaos
Introduction to chaosIntroduction to chaos
Introduction to chaos
 
UIT1504-DSP-II-U9_LMS.pdf
UIT1504-DSP-II-U9_LMS.pdfUIT1504-DSP-II-U9_LMS.pdf
UIT1504-DSP-II-U9_LMS.pdf
 
Unit vii
Unit viiUnit vii
Unit vii
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
Fast Fourier Transform (FFT) Algorithms in DSP
Fast Fourier Transform (FFT) Algorithms in DSPFast Fourier Transform (FFT) Algorithms in DSP
Fast Fourier Transform (FFT) Algorithms in DSP
 
Learning object 1
Learning object 1Learning object 1
Learning object 1
 
ch3-1
ch3-1ch3-1
ch3-1
 

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 

Discrete Fourier Transform

  • 1. Discrete Fourier Transform (DFT) Presented by: SHAHRYAR ALI
  • 2. Discrete Time FT (DTFT) DTFT defined as: Note: continuous frequency domain! (frequency density function) s si +∞ ly na a S(f) = ∑ s[n] ⋅ e − j 2 π f n n = −∞ Holds for Aperiodic signals is hes 2π nt 1 sy s[n] = ⋅ ∫ S(f)e j 2 π f ndf 2π 0
  • 3. Problem With DTFT – Defined for infinite-length sequences. – From numerical computation viewpoint: “It is troublesome as one has to evaluate infinite sums at uncountable infinite frequencies” – To use Matlab, we have to truncate sequences and then evaluate the expression at many finite points.
  • 4. Therefore: • We turn our attention to a numerically computable transform. • It is obtained by sampling the DTFT transform in the frequency domain (or the z-transform on the unit circle). But.. • We know that a periodic function can always be represented by: “A linear combination of harmonically related complex exponentials”
  • 5. The Discrete Fourier Series • So we have Discrete Fourier Series representation. • Definition: Periodic sequence. ~ (n) = ~ (n + kN ), ∀n, k x x N: the fundamental period of the sequences
  • 6. Discrete Fourier Series Analysis equation: ~ N −1 ~[n]e − j( 2 π / N)kn X[k ] = ∑x n=0 Synthesis equation: ~[n] = 1 N −1 ~ x ∑ X[k ]e j( 2 π / N)kn N k =0
  • 7. • For convenience we sometimes use: − j( 2 π / N ) WN = e So.. ~ N −1 ~[n]Wkn X[k ] = ∑x N n=0 ~ { X ( K ), k = 0,±1, } called the discrete Fourier series are coefficients. ~[n] = 1 N −1 ~ x ∑ X[k ]WN kn − N k =0
  • 8. Properties of DFS • Linearity ~ [n] ~ x1 ← DFS →   X1 [k ] ~ [n] ~ x 2 ← DFS →   X2 [k ] ~ ~ a~1 [n] + b~2 [n] x x ← DFS → aX1 [k ] + bX2 [k ]   • Shift of a Sequence ~[n] ~ x ← DFS →  X[k ] ~ X[n] ← DFS → N~[ − k ]  x • Duality ~[n] ~ x DFS ←  →  X[k ] ~[n − m] ~ x ←  → e − j2 πkm / NX[k ] DFS  e j2 πnm / N~ x [n] ← → ~[k − m] DFS  X
  • 9. The Fourier Transform of Periodic Signals • Periodic sequences are not absolute or square summable – Hence they don’t have a Fourier Transform. • We can represent them as sums of complex exponentials: DFS. • We can define a periodic signal whose primary shape is that of the finite duration signal . • We then use the DFS on this periodic signal. • So we define a new transform called the Discrete Fourier Transform (DFT), which is the primary Period of the DFS.
  • 11. Discrete Fourier Transform (DFT) • Discrete Fourier transform (or DFT) takes a finite number of samples of a signal. • It then transforms them into a finite number of frequency samples . • The discrete Fourier transform does not act on signals that exist at all time. • The DFT can be used in practice using a fast Fourier transform (FFT) algorithm.
  • 12. Fourier analysis Input Time Signal Frequency spectrum 2.5 2 1.5 1 0.5 0 0 1 2 3 4 5 6 7 8 Periodic FS Discrete time, t Continuous (period T) 2.5 2 1.5 Aperiodic FT Continuous 1 0.5 0 0 2 4 6 8 10 12 time, t 2.5 2 DFS Discrete 1.5 Periodic 1 0.5 0 (period T) 0 1 2 3 4 5 6 7 8 time, tk Discrete DTFT Continuous 2.5 2 Aperiodic 1.5 1 0.5 0 time, tk DFT 0 2 4 6 8 10 12 Discrete
  • 13. Discrete Fourier Transform (DFT) Definition: The Discrete Fourier Transform (DFT) is defined by: Where n = 0, 1, 2, …., N-1 The Inverse Discrete Fourier Transform (IDFT) is defined by: where k = 0, 1, 2, …., N-1. Same form of DFS but for aperiodic signals. Signal treated as periodic for computational purpose only.
  • 14. Sample X at N points O<w<2π x(2) x(1) x(o) w x(N-1)
  • 15. DFT at work • To see how DFT equation actually works in practice, let’s do a simple example - calculate DFT of 4 element sequence, x(n)={1,1,0,0} for k=0 4−1 X ( 0 ) = ∑ x ( n ) e− j 2π ×0×n 4 n= 0 = x ( 0 ) e − j 2π ×0×0 4 + x ( 1) e − j 2π ×0×1 4 + x ( 2 ) e− j 2π ×0×2 4 + x ( 3) e − j 2π ×0×3 4 = 1×e− j 2π ×0×0 4 + 1×e− j 2π ×0×1 4 + 0 ×e − j 2π ×0×2 4 + 0 ×e− j 2π ×0×3 4 =2
  • 16. DFT at work for k=1 X ( 1) = x ( 0 ) e − j 2π ××0 4 + x ( 1) e − j 2π ×× 4 + x ( 2 ) e − j 2π ××2 4 + x ( 3) e − j 2π ××3 4 1 11 1 1 = 1×e − j 2π ××0 4 + 1 ×e − j 2π ×× 4 + 0 ×e − j 2π ××2 4 + 0 ×e − j 2π ××3 4 1 11 1 1  π   π  = 1 +  cos  ÷− j sin  ÷÷  2  2  = 1− j • Following the same procedure we also get: X ( 2) = 0 X ( 3) = 1 + j • The result: DFT({1,1,0,0})={2,1+j,0,1-j}
  • 17. DFT Properties Time Frequency Linearity a·s[n] + b·u[n] a·S(k)+b·U(k) 1 N−1 Multiplication s[n] ·u[n] ⋅ ∑S(h)U(k - h) N h =0 N− 1 Convolution S(k)·U(k) ∑ s[m] ⋅ u[n − m] m= 0 Time shifting s[n - m] 2π k ⋅m −j e T ⋅ S(k) Frequency shifting S(k - h) 2π h t +j e T ⋅ s[n]
  • 18. s[n] S(f) (a) (b) 0 T/2 T 2T f s”[n] IDFT DFT (c) (d) (e) (f) cK (a) Aperiodic discrete signal. (b) DTFT transform magnitude. (c) Periodic version of (a). (d) DFS coefficients = samples of (b). (e) Inverse DFT estimates a single period of s[n] (f) DFT estimates a single period of (d).
  • 19. Why DFT is important?  To find the frequency content of a signal. • To design an audio format (e.g., CD audio). • To design a communications system (what bandwidth is required?).  To determine the frequency response of a structure. • A musical instrument.
  • 20. The Fast Fourier Transform • The fast Fourier transform (FFT) is simply a class of special algorithms which implement the discrete Fourier transform . • It calculates with considerable savings in computational time. • Maximum efficiency of computation is obtained by constraining the points to be an integer power of two, e.g. 1024 or 2048.