SlideShare a Scribd company logo
WELCOME
To our presentation
Saroar Hossain
ID: 2002221
Md.Mahbub Hasan
ID:2002271
Presented By
Presented to
Prof. Dr. Md. Zamil Sultan
Chairman
Dept. of EEE
Rimu Rahman Munna
ID: 2002267
Rakibul Hasan
ID:2002280
AUTO CORRELATION IN
DIGITAL SIGNAL PROCESSING
1
2
In digital signal processing (DSP), correlation is a
fundamental operation used to measure the
similarity between two signals.
Correlation
Types of Correlation
There are two main types of correlation in DSP
1. Auto Correlation
2. Cross Correlation
3
Auto correlation measures the similarity of a signal with itself at different
time shifts.
Auto correlation of signal x[n] is defined as:
Rxx(𝑙) = σ𝑛=−∞
∞
𝑥 𝑛 𝑥(𝑛 − 𝑙)
Where 𝑙 = 0, ±1, ± 2……
Auto Correlation
4
Auto Correlation
0
0.5
1
1.5
2
2.5
0 1 2 3 4
Transmitted Signal
0
0.5
1
1.5
2
2.5
0 1 2 3 4 5 6
Received Signal
𝑥 𝑛 𝑥 𝑛 − 𝑙
5
Auto Correlation of the discrete time(DT) signal
Let compute auto correlation of the DT signal x[n] = {− 1, 2, 1}
We know that autocorrelation of x[n]
Rxx(𝑙)= σ𝑛=−∞
∞ 𝑥 𝑛 𝑥(𝑛 − 𝑙)
For 𝑙 = 1;
Rxx(-1)= σ𝑛=−∞
∞ 𝑥 𝑛 𝑥(𝑛 + 1)
= σ𝑛=−∞
∞ [0, −2 , 2]
= 0
𝑙 = 1
= 0
−1 2 1
−1 2 1
−2 2
For 𝑙 = 2;
Rxx(-2)= σ𝑛=−∞
∞
𝑥 𝑛 𝑥(𝑛 + 2)
= σ𝑛=−∞
∞ [0, 0, −1]
= − 1 𝑙 = 2
= − 1
For 𝑙 = 0;
Rxx(0) = σ𝑛=−∞
∞ 𝑥 𝑛 𝑥(𝑛)
= σ𝑛=−∞
∞ [1, 4, 1]
= 6
6
−1 2 1
−1 2 1
−1
𝑙 = 0
= 6
For 𝑙 = -1;
Rxx(1)= σ𝑙=−∞
∞
𝑥 𝑛 𝑥(𝑛 − 1)
= σ𝑙=−∞
∞
[−2, 2, 0]
= 0 𝑙 = - 1
= 0
7
−1 2 1
−1 2 1
1 4 1
−1 2 1
−1 2 1
-2 2
For 𝑙 = -2;
Rxx(2)= σ𝑛=−∞
∞
𝑥 𝑛 𝑥(𝑛 − 2)
= σ𝑛=−∞
∞ [−1, 0, 0]
= −1
𝑙 = -2
= −1
Thus Rxx(𝑙) = {− 1, 0, 6, 0, −1}
8
−1 2 1
−1 2 1
−1
9
clc;
close all;
clear all;
x = [-1, 2, 1]
t = 0:length(x)-1;
subplot(2,1,1);
stem(t, x,'linewidth',2);
auto_corr = xcorr(x);
lag = -length(x)+1:length(x)-1; % Lag values for xcorr resul
subplot(2,1,2);
stem(lag, auto_corr,'linewidth',2 );
disp('Rxx:');
disp(auto_corr);
Auto Correlation Using MATLAB
10
11
• The maximum value of the auto-correlated signal is obtained when
time-shift is zero that is at 𝑙 = 0. Because at 𝑙 = 0 the overlapping signal
best matches the given signal.
• Rxx(𝑙) is a symmetric function, that is Rxx(𝑙) = Rxx(- 𝑙 )
Important Feature of Auto Correlation
12
• Auto-correlation is used to identify repeating patterns within a signal
• Speech processing
• Signal synchronization in communication systems
• Radar system
• Weather forecasting
• Security system
Applications of Auto Correlation
THANK YOU

More Related Content

PDF
Section4 stochastic
PDF
Lecture 2: Stochastic Hydrology
PDF
3.digital signal procseeingLTI System.pdf
PPT
Identification of the Mathematical Models of Complex Relaxation Processes in ...
PPTX
Digital Signal Processing
PDF
Lecture_Random Process_Part-1_July-Dec 2023.pdf
PPT
Ph 101-9 QUANTUM MACHANICS
Section4 stochastic
Lecture 2: Stochastic Hydrology
3.digital signal procseeingLTI System.pdf
Identification of the Mathematical Models of Complex Relaxation Processes in ...
Digital Signal Processing
Lecture_Random Process_Part-1_July-Dec 2023.pdf
Ph 101-9 QUANTUM MACHANICS

Similar to Auto correlation(corrected) on dsp. .pdf (20)

PDF
Introducing Zap Q-Learning
PDF
Mixed Spectra for Stable Signals from Discrete Observations
PDF
MIXED SPECTRA FOR STABLE SIGNALS FROM DISCRETE OBSERVATIONS
PDF
Mixed Spectra for Stable Signals from Discrete Observations
PDF
Mixed Spectra for Stable Signals from Discrete Observations
PDF
Mixed Spectra for Stable Signals from Discrete Observations
PPT
1526 exploiting symmetries
PPT
Correlation & regression (2)
PDF
Lecture1
PPTX
07-Convolution.pptx signal spectra and signal processing
PPT
Conference ppt
DOC
It 05104 digsig_1
PDF
Summary Of Important Laws Of Differentiation And Integration
PPT
Discrete Signal Processing
PDF
Neet class 11 12 basic mathematics notes
PDF
Ch3_Z-transform.pdf
PPT
Correlation & regression (3)
PDF
Informe laboratorio n°1
PDF
Lec11 logistic regression
PDF
Chapter 3 - Inverse Functions.pdf
Introducing Zap Q-Learning
Mixed Spectra for Stable Signals from Discrete Observations
MIXED SPECTRA FOR STABLE SIGNALS FROM DISCRETE OBSERVATIONS
Mixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete Observations
1526 exploiting symmetries
Correlation & regression (2)
Lecture1
07-Convolution.pptx signal spectra and signal processing
Conference ppt
It 05104 digsig_1
Summary Of Important Laws Of Differentiation And Integration
Discrete Signal Processing
Neet class 11 12 basic mathematics notes
Ch3_Z-transform.pdf
Correlation & regression (3)
Informe laboratorio n°1
Lec11 logistic regression
Chapter 3 - Inverse Functions.pdf
Ad

More from RejoanaIslamBonna (6)

PDF
Lecture 3,vlsi,design3_240418_074703.pdf
PDF
Lecture 2vlsi*design22_240222_074858.pdf
PDF
Lecture1for-vlsi-design1240201073518.pdf
PPTX
Presentation on convolution sum dsp.pptx
PDF
About_dsp_convolution_correlations_andPorperties
PDF
chapter-12management9theditionbyrobbinsandcoulter-130822071045-phpapp01.pdf
Lecture 3,vlsi,design3_240418_074703.pdf
Lecture 2vlsi*design22_240222_074858.pdf
Lecture1for-vlsi-design1240201073518.pdf
Presentation on convolution sum dsp.pptx
About_dsp_convolution_correlations_andPorperties
chapter-12management9theditionbyrobbinsandcoulter-130822071045-phpapp01.pdf
Ad

Recently uploaded (20)

PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PPTX
modul_python (1).pptx for professional and student
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPT
Predictive modeling basics in data cleaning process
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
Transcultural that can help you someday.
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Clinical guidelines as a resource for EBP(1).pdf
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Introduction to Knowledge Engineering Part 1
Qualitative Qantitative and Mixed Methods.pptx
SAP 2 completion done . PRESENTATION.pptx
Reliability_Chapter_ presentation 1221.5784
STUDY DESIGN details- Lt Col Maksud (21).pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
modul_python (1).pptx for professional and student
STERILIZATION AND DISINFECTION-1.ppthhhbx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Predictive modeling basics in data cleaning process
ISS -ESG Data flows What is ESG and HowHow
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
Transcultural that can help you someday.

Auto correlation(corrected) on dsp. .pdf

  • 2. Saroar Hossain ID: 2002221 Md.Mahbub Hasan ID:2002271 Presented By Presented to Prof. Dr. Md. Zamil Sultan Chairman Dept. of EEE Rimu Rahman Munna ID: 2002267 Rakibul Hasan ID:2002280
  • 3. AUTO CORRELATION IN DIGITAL SIGNAL PROCESSING 1
  • 4. 2 In digital signal processing (DSP), correlation is a fundamental operation used to measure the similarity between two signals. Correlation Types of Correlation There are two main types of correlation in DSP 1. Auto Correlation 2. Cross Correlation
  • 5. 3 Auto correlation measures the similarity of a signal with itself at different time shifts. Auto correlation of signal x[n] is defined as: Rxx(𝑙) = σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 − 𝑙) Where 𝑙 = 0, ±1, ± 2…… Auto Correlation
  • 6. 4 Auto Correlation 0 0.5 1 1.5 2 2.5 0 1 2 3 4 Transmitted Signal 0 0.5 1 1.5 2 2.5 0 1 2 3 4 5 6 Received Signal 𝑥 𝑛 𝑥 𝑛 − 𝑙
  • 7. 5 Auto Correlation of the discrete time(DT) signal Let compute auto correlation of the DT signal x[n] = {− 1, 2, 1} We know that autocorrelation of x[n] Rxx(𝑙)= σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 − 𝑙) For 𝑙 = 1; Rxx(-1)= σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 + 1) = σ𝑛=−∞ ∞ [0, −2 , 2] = 0 𝑙 = 1 = 0 −1 2 1 −1 2 1 −2 2
  • 8. For 𝑙 = 2; Rxx(-2)= σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 + 2) = σ𝑛=−∞ ∞ [0, 0, −1] = − 1 𝑙 = 2 = − 1 For 𝑙 = 0; Rxx(0) = σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛) = σ𝑛=−∞ ∞ [1, 4, 1] = 6 6 −1 2 1 −1 2 1 −1
  • 9. 𝑙 = 0 = 6 For 𝑙 = -1; Rxx(1)= σ𝑙=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 − 1) = σ𝑙=−∞ ∞ [−2, 2, 0] = 0 𝑙 = - 1 = 0 7 −1 2 1 −1 2 1 1 4 1 −1 2 1 −1 2 1 -2 2
  • 10. For 𝑙 = -2; Rxx(2)= σ𝑛=−∞ ∞ 𝑥 𝑛 𝑥(𝑛 − 2) = σ𝑛=−∞ ∞ [−1, 0, 0] = −1 𝑙 = -2 = −1 Thus Rxx(𝑙) = {− 1, 0, 6, 0, −1} 8 −1 2 1 −1 2 1 −1
  • 11. 9 clc; close all; clear all; x = [-1, 2, 1] t = 0:length(x)-1; subplot(2,1,1); stem(t, x,'linewidth',2); auto_corr = xcorr(x); lag = -length(x)+1:length(x)-1; % Lag values for xcorr resul subplot(2,1,2); stem(lag, auto_corr,'linewidth',2 ); disp('Rxx:'); disp(auto_corr); Auto Correlation Using MATLAB
  • 12. 10
  • 13. 11 • The maximum value of the auto-correlated signal is obtained when time-shift is zero that is at 𝑙 = 0. Because at 𝑙 = 0 the overlapping signal best matches the given signal. • Rxx(𝑙) is a symmetric function, that is Rxx(𝑙) = Rxx(- 𝑙 ) Important Feature of Auto Correlation
  • 14. 12 • Auto-correlation is used to identify repeating patterns within a signal • Speech processing • Signal synchronization in communication systems • Radar system • Weather forecasting • Security system Applications of Auto Correlation