SlideShare a Scribd company logo
1 of 33
Fourier Transforms of Discrete
Signals
Microlink IT College
ambawb
Sampling
• Continuous signals are digitized using digital computers
• When we sample, we calculate the value of the continuous
signal at discrete points
– How fast do we sample
– What is the value of each point
• Quantization determines the value of each samples value
ambawb
Sampling Periodic Functions
- Note that wb = Bandwidth, thus if then aliasing occurs
(signal overlaps)
-To avoid aliasing
-According sampling theory: To hear music up to 20KHz a CD
should sample at the rate of 44.1 KHz
ambawb
Discrete Time Fourier Transform
• In likely we only have access to finite amount of data
sequences (after sampling)
• Recall for continuous time Fourier transform, when the
signal is sampled:
• Assuming
• Discrete-Time Fourier Transform (DTFT):
ambawb
Discrete Time Fourier Transform
• Discrete-Time Fourier Transform (DTFT):
• A few points
– DTFT is periodic in frequency with period of 2π
– X[n] is a discrete signal
– DTFT allows us to find the spectrum of the discrete signal as viewed
from a window
ambawb
Example D
See map!
ambawb
Example of Convolution
• Convolution
– We can write x[n] (a periodic function) as an infinite sum of the
function xo[n] (a non-periodic function) shifted N units at a time
– This will result
– Thus
See map!
ambawb
Finding DTFT For periodic signals
• Starting with xo[n]
• DTFT of xo[n]
Example
ambawb
Example A & B
notes
notes
X[n]=a|n|
, 0 < a < 1.
ambawb
DT Fourier Transforms
1. Ω is in radian and it is between
0 and 2π in each discrete time
interval
2. This is different from ω where it
was between – INF and + INF
3. Note that X(Ω) is periodic
ambawb
Properties of DTFT
• Remember:
• For time scaling note that
m>1  Signal spreading
ambawb
Fourier Transform of Periodic Sequences
• Check the map~~~~~
See map!
ambawb
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)
ambawb
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
ambawb
A short hand notation
remember:
ambawb
Inverse of DFT
• We can obtain the inverse of DFT
• Note that
ambawb
Using MATLAB to Calculate DFT
• Example:
– Assume N=4
– x[n]=[1,2,3,4]
– n=0,…,3
– Find X[k]; k=0,…,3
or
ambawb
Example of DFT
• Find X[k]
– We know k=1,.., 7; N=8
ambawb
Example of DFT
ambawb
Example of DFT
Time shift Property of DFT
Polar plot for
ambawb
Example of DFT
ambawb
Example of DFT
Summation for X[k]
Using the shift property!
ambawb
Example of IDFT
Remember:
ambawb
Example of IDFT
Remember:
ambawb
Fast Fourier Transform Algorithms
• Consider DTFT
• Basic idea is to split the sum into 2 subsequences of length
N/2 and continue all the way down until you have N/2
subsequences of length 2
Log2(8)
N
ambawb
Radix-2 FFT Algorithms - Two point FFT
• We assume N=2^m
– This is called Radix-2 FFT Algorithms
• Let’s take a simple example where only two points are given n=0, n=1; N=2
y0
y1
y0
Butterfly FFT
Advantage: Less
computationally
intensive: N/2.log(N)
Advantage: Less
computationally
intensive: N/2.log(N)
ambawb
General FFT Algorithm
• First break x[n] into even and odd
• Let n=2m for even and n=2m+1 for odd
• Even and odd parts are both DFT of a N/2 point
sequence
• Break up the size N/2 subsequent in half by letting
2mm
• The first subsequence here is the term x[0], x[4], …
• The second subsequent is x[2], x[6], …
1
1)2sin()2cos(
)]12[(]2[
2/
2
2/
2/
2/2/
2/
2/
2/
2
12/
0
2/
12/
0
2/
−=
=−−−==
==
=
++
−
+
−
=
−
=
∑∑
N
N
jN
N
m
N
N
N
m
N
Nm
N
mk
N
mk
N
N
m
mk
N
k
N
N
m
mk
N
W
jeW
WWWW
WW
mxWWmxW
πππ
ambawb
Example
1
1)2sin()2cos(
)]12[(]2[][
2/
2
2/
2/
2/2/
2/
2/
2/
2
12/
0
2/
12/
0
2/
−=
=−−−==
==
=
++=
−
+
−
=
−
=
∑∑
N
N
jN
N
m
N
N
N
m
N
Nm
N
mk
N
mk
N
N
m
mk
N
k
N
N
m
mk
N
W
jeW
WWWW
WW
mxWWmxWkX
πππ
Let’s take a simple example where only two points are given n=0, n=1; N=2
]1[]0[]1[]0[)]1[(]0[]1[
]1[]0[)]1[(]0[]0[
1
1
0
0
1.0
1
1
1
0
0
1.0
1
0
0
0.0
1
0
1
0
0
0.0
1
xxxWxxWWxWkX
xxxWWxWkX
mm
mm
−=+=+==
+=+==
∑∑
∑∑
==
==
Same result
ambawb
FFT Algorithms - Four point FFT
First find even and odd parts and then combine them:
The general form:
ambawb
FFT Algorithms - 8 point FFT
http://www.engineeringproductivitytools.com/stuff/T0001/PT07.HTM
Applet: http://www.falstad.com/fourier/directions.html
ambawb
A Simple Application for FFT
t = 0:0.001:0.6; % 600 points
x = sin(2*pi*50*t)+sin(2*pi*120*t);
y = x + 2*randn(size(t));
plot(1000*t(1:50),y(1:50))
title('Signal Corrupted with Zero-Mean Random Noise')
xlabel('time (milliseconds)')
Taking the 512-point fast Fourier transform (FFT): Y = fft(y,512)
The power spectrum, a measurement of the power at various
frequencies, is Pyy = Y.* conj(Y) / 512;
Graph the first 257 points (the other 255 points are redundant) on a
meaningful frequency axis: f = 1000*(0:256)/512;
plot(f,Pyy(1:257))
title('Frequency content of y')
xlabel('frequency (Hz)')
This helps us to design an effective filter!
ML Help!
ambawb
Example
• Express the DFT of the 9-point {x[0], …,x[9]} in terms of the
DFTs of 3-point sequences {x[0],x[3],x[6]}, {x[1],x[4],x[7]},
and {x[2],x[5],x[8]}.
ambawb
References
• Read Schaum’s Outlines: Chapter 6
• Do Chapter 12 problems: 19, 20, 26, 5, 7
ambawb

More Related Content

What's hot

Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisChandrashekhar Padole
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windowsSarang Joshi
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_designshrinivasgnaik
 
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...Waqas Afzal
 
Fir filter design (windowing technique)
Fir filter design (windowing technique)Fir filter design (windowing technique)
Fir filter design (windowing technique)Bin Biny Bino
 
Chapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier TransformChapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier TransformAttaporn Ninsuwan
 
Design of FIR Filters
Design of FIR FiltersDesign of FIR Filters
Design of FIR FiltersAranya Sarkar
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier TransformAbhishek Choksi
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filtersop205
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filtersop205
 
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersDSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersAmr E. Mohamed
 
Introduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysisIntroduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysis宗翰 謝
 

What's hot (20)

Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
 
Fft
FftFft
Fft
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windows
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 
IIR filter
IIR filterIIR filter
IIR filter
 
Radix-2 DIT FFT
Radix-2 DIT FFT Radix-2 DIT FFT
Radix-2 DIT FFT
 
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
 
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
 
Fir filter design (windowing technique)
Fir filter design (windowing technique)Fir filter design (windowing technique)
Fir filter design (windowing technique)
 
Fft ppt
Fft pptFft ppt
Fft ppt
 
Chapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier TransformChapter5 - The Discrete-Time Fourier Transform
Chapter5 - The Discrete-Time Fourier Transform
 
Design of FIR Filters
Design of FIR FiltersDesign of FIR Filters
Design of FIR Filters
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
Digital filter structures
Digital filter structuresDigital filter structures
Digital filter structures
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filters
 
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersDSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital Filters
 
Introduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysisIntroduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysis
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 

Viewers also liked

The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)Oka Danil
 
Representation of complex number
Representation of complex numberRepresentation of complex number
Representation of complex numberAshraful Tauhid
 
Fourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsJayanshu Gundaniya
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 

Viewers also liked (6)

Properties of Fourier transform
Properties of Fourier transformProperties of Fourier transform
Properties of Fourier transform
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
 
Representation of complex number
Representation of complex numberRepresentation of complex number
Representation of complex number
 
1. introduction to complex numbers
1. introduction to complex numbers1. introduction to complex numbers
1. introduction to complex numbers
 
Fourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time Signals
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 

Similar to Fft

fourier transform of DT signals
fourier transform of DT signalsfourier transform of DT signals
fourier transform of DT signalstejaspatel1998
 
Fourier transforms of discrete signals (DSP) 5
Fourier transforms of discrete signals (DSP) 5Fourier transforms of discrete signals (DSP) 5
Fourier transforms of discrete signals (DSP) 5HIMANSHU DIWAKAR
 
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
 
1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSING1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSINGmukesh bhardwaj
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huangjhonce
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huangSagar Ahir
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxHarisMasood20
 
3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transformWiw Miu
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representationNikolay Karpov
 
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐCHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐlykhnh386525
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling processNatarajVijapur
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationavocado1111
 

Similar to Fft (20)

fourier transform of DT signals
fourier transform of DT signalsfourier transform of DT signals
fourier transform of DT signals
 
Fourier transforms of discrete signals (DSP) 5
Fourier transforms of discrete signals (DSP) 5Fourier transforms of discrete signals (DSP) 5
Fourier transforms of discrete signals (DSP) 5
 
lecture_16.ppt
lecture_16.pptlecture_16.ppt
lecture_16.ppt
 
Edc-unit-ii.ppt
Edc-unit-ii.pptEdc-unit-ii.ppt
Edc-unit-ii.ppt
 
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
 
1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSING1 AUDIO SIGNAL PROCESSING
1 AUDIO SIGNAL PROCESSING
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huang
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huang
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptx
 
3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform
 
Dif fft
Dif fftDif fft
Dif fft
 
DSP .pptx
DSP .pptxDSP .pptx
DSP .pptx
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
 
Res701 research methodology fft1
Res701 research methodology fft1Res701 research methodology fft1
Res701 research methodology fft1
 
Basic concepts
Basic conceptsBasic concepts
Basic concepts
 
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐCHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling process
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
IARE_DSP_PPT.pptx
IARE_DSP_PPT.pptxIARE_DSP_PPT.pptx
IARE_DSP_PPT.pptx
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 

Fft

  • 1. Fourier Transforms of Discrete Signals Microlink IT College ambawb
  • 2. Sampling • Continuous signals are digitized using digital computers • When we sample, we calculate the value of the continuous signal at discrete points – How fast do we sample – What is the value of each point • Quantization determines the value of each samples value ambawb
  • 3. Sampling Periodic Functions - Note that wb = Bandwidth, thus if then aliasing occurs (signal overlaps) -To avoid aliasing -According sampling theory: To hear music up to 20KHz a CD should sample at the rate of 44.1 KHz ambawb
  • 4. Discrete Time Fourier Transform • In likely we only have access to finite amount of data sequences (after sampling) • Recall for continuous time Fourier transform, when the signal is sampled: • Assuming • Discrete-Time Fourier Transform (DTFT): ambawb
  • 5. Discrete Time Fourier Transform • Discrete-Time Fourier Transform (DTFT): • A few points – DTFT is periodic in frequency with period of 2π – X[n] is a discrete signal – DTFT allows us to find the spectrum of the discrete signal as viewed from a window ambawb
  • 7. Example of Convolution • Convolution – We can write x[n] (a periodic function) as an infinite sum of the function xo[n] (a non-periodic function) shifted N units at a time – This will result – Thus See map! ambawb
  • 8. Finding DTFT For periodic signals • Starting with xo[n] • DTFT of xo[n] Example ambawb
  • 9. Example A & B notes notes X[n]=a|n| , 0 < a < 1. ambawb
  • 10. DT Fourier Transforms 1. Ω is in radian and it is between 0 and 2π in each discrete time interval 2. This is different from ω where it was between – INF and + INF 3. Note that X(Ω) is periodic ambawb
  • 11. Properties of DTFT • Remember: • For time scaling note that m>1  Signal spreading ambawb
  • 12. Fourier Transform of Periodic Sequences • Check the map~~~~~ See map! ambawb
  • 13. 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) ambawb
  • 14. 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 ambawb
  • 15. A short hand notation remember: ambawb
  • 16. Inverse of DFT • We can obtain the inverse of DFT • Note that ambawb
  • 17. Using MATLAB to Calculate DFT • Example: – Assume N=4 – x[n]=[1,2,3,4] – n=0,…,3 – Find X[k]; k=0,…,3 or ambawb
  • 18. Example of DFT • Find X[k] – We know k=1,.., 7; N=8 ambawb
  • 20. Example of DFT Time shift Property of DFT Polar plot for ambawb
  • 22. Example of DFT Summation for X[k] Using the shift property! ambawb
  • 25. Fast Fourier Transform Algorithms • Consider DTFT • Basic idea is to split the sum into 2 subsequences of length N/2 and continue all the way down until you have N/2 subsequences of length 2 Log2(8) N ambawb
  • 26. Radix-2 FFT Algorithms - Two point FFT • We assume N=2^m – This is called Radix-2 FFT Algorithms • Let’s take a simple example where only two points are given n=0, n=1; N=2 y0 y1 y0 Butterfly FFT Advantage: Less computationally intensive: N/2.log(N) Advantage: Less computationally intensive: N/2.log(N) ambawb
  • 27. General FFT Algorithm • First break x[n] into even and odd • Let n=2m for even and n=2m+1 for odd • Even and odd parts are both DFT of a N/2 point sequence • Break up the size N/2 subsequent in half by letting 2mm • The first subsequence here is the term x[0], x[4], … • The second subsequent is x[2], x[6], … 1 1)2sin()2cos( )]12[(]2[ 2/ 2 2/ 2/ 2/2/ 2/ 2/ 2/ 2 12/ 0 2/ 12/ 0 2/ −= =−−−== == = ++ − + − = − = ∑∑ N N jN N m N N N m N Nm N mk N mk N N m mk N k N N m mk N W jeW WWWW WW mxWWmxW πππ ambawb
  • 28. Example 1 1)2sin()2cos( )]12[(]2[][ 2/ 2 2/ 2/ 2/2/ 2/ 2/ 2/ 2 12/ 0 2/ 12/ 0 2/ −= =−−−== == = ++= − + − = − = ∑∑ N N jN N m N N N m N Nm N mk N mk N N m mk N k N N m mk N W jeW WWWW WW mxWWmxWkX πππ Let’s take a simple example where only two points are given n=0, n=1; N=2 ]1[]0[]1[]0[)]1[(]0[]1[ ]1[]0[)]1[(]0[]0[ 1 1 0 0 1.0 1 1 1 0 0 1.0 1 0 0 0.0 1 0 1 0 0 0.0 1 xxxWxxWWxWkX xxxWWxWkX mm mm −=+=+== +=+== ∑∑ ∑∑ == == Same result ambawb
  • 29. FFT Algorithms - Four point FFT First find even and odd parts and then combine them: The general form: ambawb
  • 30. FFT Algorithms - 8 point FFT http://www.engineeringproductivitytools.com/stuff/T0001/PT07.HTM Applet: http://www.falstad.com/fourier/directions.html ambawb
  • 31. A Simple Application for FFT t = 0:0.001:0.6; % 600 points x = sin(2*pi*50*t)+sin(2*pi*120*t); y = x + 2*randn(size(t)); plot(1000*t(1:50),y(1:50)) title('Signal Corrupted with Zero-Mean Random Noise') xlabel('time (milliseconds)') Taking the 512-point fast Fourier transform (FFT): Y = fft(y,512) The power spectrum, a measurement of the power at various frequencies, is Pyy = Y.* conj(Y) / 512; Graph the first 257 points (the other 255 points are redundant) on a meaningful frequency axis: f = 1000*(0:256)/512; plot(f,Pyy(1:257)) title('Frequency content of y') xlabel('frequency (Hz)') This helps us to design an effective filter! ML Help! ambawb
  • 32. Example • Express the DFT of the 9-point {x[0], …,x[9]} in terms of the DFTs of 3-point sequences {x[0],x[3],x[6]}, {x[1],x[4],x[7]}, and {x[2],x[5],x[8]}. ambawb
  • 33. References • Read Schaum’s Outlines: Chapter 6 • Do Chapter 12 problems: 19, 20, 26, 5, 7 ambawb