Wednesday, November 18, 2009

Program to perform 2-D Cross Correlation & Auto Correlation

CODE


clc
clear all
close all
x=[1 2;3 4]
h=[5 6;7 8]
y=xcorr2(x,h);
disp('Cross Correlation');
disp(y);
y1=xcorr2(x);
disp('Auto Correlation');
disp(y1);

No comments:

Post a Comment