SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Convolution and
Correlation of discrete time
Signals
By
Md. Fazle Rabbi
16CSE057
4.2
What is Convolution?
Convolution: Convolution is a mathematical way of combining two signals to form a
third signal.
◆ It is equivalent to finite impulse response (FIR) filtering.
◆ It is important in digital signal processing because convolving two sequences in
time domain is equivalent to multiplying the sequences in frequency domain.
◆ It relates input, output and impulse response of an LTI system as
y(t) = x(t) ∗ h(t)
Where, y(t) = output of LTI, x(t) = input of LTI, h(t) = impulse response of LTI
And * denotes the Convolution Operation.
4.3
Property of Convolution
4.4
Discrete Convolution
• For a linear time invariant system, if the input sequence
x(n) and the impulse response h(n) are given, the output
sequence y(n) can be found.
• This is known as convolution sum and is represented as
• y(n) = x(n) * h(n) = h(n) *x(n)
T
Input Output
x(n) y(n)=x(n)*h(n)
4.5
Example of Discrete Linear Convolution
To calculate Discrete Linear Convolution
Convolute two sequences x[n] = {a,b,c} & h[n] = [e,f,g]
Convoluted output = [ ea, eb+fa, ec+fb+ga, fc+gb, gc]
If any two sequences have m, n number of samples
respectively, then the resulting convoluted sequence will have
[m+n-1] samples.
4.6
Example of Discrete Linear Convolution
Convolute two sequences x[n] = {1,2,3} & h[n] = {-1,2,2}
Convoluted output
y[n] = [ -1, -2+2, -3+4+2, 6+4, 6]
= [-1, 0, 3, 10, 6]
Here x[n] contains 3 samples and h[n] is also having 3
samples so the resulting sequence having 3+3-1 = 5
samples.
4.7
Periodic Convolution
 Periodic convolution is valid for discrete Fourier transform.
To calculate periodic convolution all the samples must be
real. Periodic or circular convolution is also called as fast
convolution.
 If two sequences of length m, n respectively are convoluted
using circular convolution then resulting sequence having
max [m,n] samples.
4.8
Example of Periodic Convolution
Convolute two sequences x[n] = {1,2,3} & h[n] = {-1,2,2} using circular convolution
Normal Convolution output y[n] = [ -1, -2+2, -3+4+2, 6+4, 6]
= [-1, 0, 3, 10, 6]
Here x[n] contains 3 samples & h[n] also has 3 samples.
Hence the resulting sequence obtained by circular
convolution must have max[3,3]= 3 samples.
Now to get periodic convolution result, 1st 3 samples [as the period is 3] of normal convolution is same
next two samples are added to 1st samples as shown below:
Circular convolution result y[n] = [9 6 3]
4.9
Correlation
• It is a measure of similarity between signals and is found using a
process similar to convolution.
• Correlation is used to compare two signals.
• It is used in radar and sonar systems to find the location of a
target by comparing the transmitted and reflected signals.
• Other applications of correlation are in image processing, control
engineering etc.
• The correlation is of two types:
(i) Cross correlation (ii) Auto-correlation
4.10
Cross Correlation
• Cross correlation: The cross correlation between a pair of
sequences x(n) and y(n) is given by
𝑅𝑥𝑦(n)= 𝑘=−∞
∞
𝑥 𝑘 𝑦[−(𝑛-k)]
= x(n) * y(-n)
• Observing the above equation for Rxy(n), we can conclude
that the correlation of two sequences is essentially the
convolution of two sequences in which one of the
sequence has been reversed.
4.11
Example of Cross Correlation
Find the cross correlation of two finite length sequences:
x(n) = {2, 3, 1, 4} and y(n) = {1, 3, 2, 1}
Here,
y(–n) = {1, 2, 3, 1}
Rxy(n) = x(n) * y(–n)
The cross correlation is computed as given below:
R(n) = {2, 3 + 4, 1 + 6 + 6, 4 + 2 + 9 + 2, 8 + 3 + 3, 12 + 1, 4}
= {2, 7, 13, 17, 14, 13, 4}
4.12
Auto Correlation
• The autocorrelation of a sequence is correlation of a
sequence with itself.
• It gives a measure of similarity between a sequence
and its shifted version.
• The autocorrelation of a sequence x(n) is defined as:
𝑅𝑥𝑥(n) = 𝑘=−∞
∞
𝑥 𝑘 𝑥(𝑘 − 𝑛)
𝑅𝑥𝑥 𝑛 = 𝑥 𝑘 ∗ 𝑥(−𝑘)
4.13
Example of Auto Correlation
Find the autocorrelation of the finite length sequence x(n) = {2, 3, 1, 4}.
Here,
x(n) = {2, 3, 1, 4}
x(–n) = {4, 1, 3, 2}
R(n) = x(n) * x(–n)
The auto correlation is computed as given below:
R(n) = {8, 12 + 2, 4 + 3 + 6, 16 + 1 + 9 + 4, 4 + 3 + 6, 12 + 2, 8}
= {8, 14, 13, 30, 13, 14, 8}
4.14
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems
Zlatan Ahmadovic
 
Du binary signalling
Du binary signallingDu binary signalling
Du binary signalling
srkrishna341
 

Was ist angesagt? (20)

Fir filter design using Frequency sampling method
Fir filter design using Frequency sampling methodFir filter design using Frequency sampling method
Fir filter design using Frequency sampling method
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
Fourier transforms
Fourier transforms Fourier transforms
Fourier transforms
 
Overview of sampling
Overview of samplingOverview of sampling
Overview of sampling
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
Computing DFT using Matrix method
Computing DFT using Matrix methodComputing DFT using Matrix method
Computing DFT using Matrix method
 
discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems
 
Sampling
SamplingSampling
Sampling
 
Z Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And SystemsZ Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And Systems
 
Du binary signalling
Du binary signallingDu binary signalling
Du binary signalling
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems3.Frequency Domain Representation of Signals and Systems
3.Frequency Domain Representation of Signals and Systems
 
Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)
 
Discrete Time Systems & its classifications
Discrete Time Systems & its classificationsDiscrete Time Systems & its classifications
Discrete Time Systems & its classifications
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 

Ähnlich wie 5. convolution and correlation of discrete time signals

A novel approach for high speed convolution of finite and infinite length seq...
A novel approach for high speed convolution of finite and infinite length seq...A novel approach for high speed convolution of finite and infinite length seq...
A novel approach for high speed convolution of finite and infinite length seq...
eSAT Journals
 
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdfcab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
TsegaTeklewold1
 

Ähnlich wie 5. convolution and correlation of discrete time signals (20)

A novel approach for high speed convolution of finite
A novel approach for high speed convolution of finiteA novel approach for high speed convolution of finite
A novel approach for high speed convolution of finite
 
A novel approach for high speed convolution of finite and infinite length seq...
A novel approach for high speed convolution of finite and infinite length seq...A novel approach for high speed convolution of finite and infinite length seq...
A novel approach for high speed convolution of finite and infinite length seq...
 
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier AnalysisDSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
 
4. operations of signals
4. operations of signals 4. operations of signals
4. operations of signals
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Convolution problems
Convolution problemsConvolution problems
Convolution problems
 
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdfcab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
 
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdfcab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
cab2602ff858c51113591d17321a80fc_MITRES_6_007S11_hw04.pdf
 
Unit 8
Unit 8Unit 8
Unit 8
 
lec07_DFT.pdf
lec07_DFT.pdflec07_DFT.pdf
lec07_DFT.pdf
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
Iterative procedure for uniform continuous mapping.
Iterative procedure for uniform continuous mapping.Iterative procedure for uniform continuous mapping.
Iterative procedure for uniform continuous mapping.
 
Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementals
 

Mehr von MdFazleRabbi18

Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)
MdFazleRabbi18
 

Mehr von MdFazleRabbi18 (20)

5.programmable interval timer 8253
5.programmable interval timer 82535.programmable interval timer 8253
5.programmable interval timer 8253
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
 
Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)
 
Topic3 playfain
Topic3 playfainTopic3 playfain
Topic3 playfain
 
Topic2 caser hill_cripto
Topic2 caser hill_criptoTopic2 caser hill_cripto
Topic2 caser hill_cripto
 
Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniques
 
11. lzw coding
11. lzw coding11. lzw coding
11. lzw coding
 
9. hofman coding in DIP
9. hofman coding in DIP9. hofman coding in DIP
9. hofman coding in DIP
 
7. image enhancement using spatial filtering
7. image enhancement using spatial filtering7. image enhancement using spatial filtering
7. image enhancement using spatial filtering
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
1. steps in image processing
1. steps in image processing1. steps in image processing
1. steps in image processing
 
3. systems
3. systems 3. systems
3. systems
 
2. classification of signals
2. classification of signals 2. classification of signals
2. classification of signals
 
1. elementary signals
1. elementary signals 1. elementary signals
1. elementary signals
 
4. random number and it's generating techniques
4. random number and it's generating techniques 4. random number and it's generating techniques
4. random number and it's generating techniques
 
3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems 3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems
 
2. steps in a simulation study
2. steps in a simulation study 2. steps in a simulation study
2. steps in a simulation study
 

Kürzlich hochgeladen

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 

5. convolution and correlation of discrete time signals

  • 1. Convolution and Correlation of discrete time Signals By Md. Fazle Rabbi 16CSE057
  • 2. 4.2 What is Convolution? Convolution: Convolution is a mathematical way of combining two signals to form a third signal. ◆ It is equivalent to finite impulse response (FIR) filtering. ◆ It is important in digital signal processing because convolving two sequences in time domain is equivalent to multiplying the sequences in frequency domain. ◆ It relates input, output and impulse response of an LTI system as y(t) = x(t) ∗ h(t) Where, y(t) = output of LTI, x(t) = input of LTI, h(t) = impulse response of LTI And * denotes the Convolution Operation.
  • 4. 4.4 Discrete Convolution • For a linear time invariant system, if the input sequence x(n) and the impulse response h(n) are given, the output sequence y(n) can be found. • This is known as convolution sum and is represented as • y(n) = x(n) * h(n) = h(n) *x(n) T Input Output x(n) y(n)=x(n)*h(n)
  • 5. 4.5 Example of Discrete Linear Convolution To calculate Discrete Linear Convolution Convolute two sequences x[n] = {a,b,c} & h[n] = [e,f,g] Convoluted output = [ ea, eb+fa, ec+fb+ga, fc+gb, gc] If any two sequences have m, n number of samples respectively, then the resulting convoluted sequence will have [m+n-1] samples.
  • 6. 4.6 Example of Discrete Linear Convolution Convolute two sequences x[n] = {1,2,3} & h[n] = {-1,2,2} Convoluted output y[n] = [ -1, -2+2, -3+4+2, 6+4, 6] = [-1, 0, 3, 10, 6] Here x[n] contains 3 samples and h[n] is also having 3 samples so the resulting sequence having 3+3-1 = 5 samples.
  • 7. 4.7 Periodic Convolution  Periodic convolution is valid for discrete Fourier transform. To calculate periodic convolution all the samples must be real. Periodic or circular convolution is also called as fast convolution.  If two sequences of length m, n respectively are convoluted using circular convolution then resulting sequence having max [m,n] samples.
  • 8. 4.8 Example of Periodic Convolution Convolute two sequences x[n] = {1,2,3} & h[n] = {-1,2,2} using circular convolution Normal Convolution output y[n] = [ -1, -2+2, -3+4+2, 6+4, 6] = [-1, 0, 3, 10, 6] Here x[n] contains 3 samples & h[n] also has 3 samples. Hence the resulting sequence obtained by circular convolution must have max[3,3]= 3 samples. Now to get periodic convolution result, 1st 3 samples [as the period is 3] of normal convolution is same next two samples are added to 1st samples as shown below: Circular convolution result y[n] = [9 6 3]
  • 9. 4.9 Correlation • It is a measure of similarity between signals and is found using a process similar to convolution. • Correlation is used to compare two signals. • It is used in radar and sonar systems to find the location of a target by comparing the transmitted and reflected signals. • Other applications of correlation are in image processing, control engineering etc. • The correlation is of two types: (i) Cross correlation (ii) Auto-correlation
  • 10. 4.10 Cross Correlation • Cross correlation: The cross correlation between a pair of sequences x(n) and y(n) is given by 𝑅𝑥𝑦(n)= 𝑘=−∞ ∞ 𝑥 𝑘 𝑦[−(𝑛-k)] = x(n) * y(-n) • Observing the above equation for Rxy(n), we can conclude that the correlation of two sequences is essentially the convolution of two sequences in which one of the sequence has been reversed.
  • 11. 4.11 Example of Cross Correlation Find the cross correlation of two finite length sequences: x(n) = {2, 3, 1, 4} and y(n) = {1, 3, 2, 1} Here, y(–n) = {1, 2, 3, 1} Rxy(n) = x(n) * y(–n) The cross correlation is computed as given below: R(n) = {2, 3 + 4, 1 + 6 + 6, 4 + 2 + 9 + 2, 8 + 3 + 3, 12 + 1, 4} = {2, 7, 13, 17, 14, 13, 4}
  • 12. 4.12 Auto Correlation • The autocorrelation of a sequence is correlation of a sequence with itself. • It gives a measure of similarity between a sequence and its shifted version. • The autocorrelation of a sequence x(n) is defined as: 𝑅𝑥𝑥(n) = 𝑘=−∞ ∞ 𝑥 𝑘 𝑥(𝑘 − 𝑛) 𝑅𝑥𝑥 𝑛 = 𝑥 𝑘 ∗ 𝑥(−𝑘)
  • 13. 4.13 Example of Auto Correlation Find the autocorrelation of the finite length sequence x(n) = {2, 3, 1, 4}. Here, x(n) = {2, 3, 1, 4} x(–n) = {4, 1, 3, 2} R(n) = x(n) * x(–n) The auto correlation is computed as given below: R(n) = {8, 12 + 2, 4 + 3 + 6, 16 + 1 + 9 + 4, 4 + 3 + 6, 12 + 2, 8} = {8, 14, 13, 30, 13, 14, 8}