Untitled Document
Untitled Document
Ex.No -3
Auto Correlation and Cross Correlation
Date:
AIM:
To write a MATLAB program to obtain the Auto Correlation and Cross Correlation of
two sequences.
APPARATUS REQUIRED:
MATLAB, PC
THEORY:
In Autocorrelation, which is the cross-correlation of a signal with itself, there will always be
a peak at a lag of zero, and its size will be the signal power.
LOYOLA - ICAM
COLLEGE OF ENGINEERING AND TECHNOLOGY (LICET)
ALGORITHM:
1. Give the input sequences
2. Use the inbuilt MATLAB function (XCORR) to find out the correlation
3. Plot the output graph
4. Observe the result in the command window
PROGRAM:
AUTO CORRELATION
GRAPH:
LOYOLA - ICAM
COLLEGE OF ENGINEERING AND TECHNOLOGY (LICET)
CROSS CORRELATION:
OUTPUT:
GRAPH:
LOYOLA - ICAM
COLLEGE OF ENGINEERING AND TECHNOLOGY (LICET)
Preparation 5
Conduction &
Observation 5
Result Execution
Viva-Voce &
5
Inference
Record 5
Total 20
RESULT:
Thus a MATLAB program is written to obtain the Auto Correlation and Cross
Correlation of two sequences