Signal Processing Toolbox Help Desk

xcorr2

Purpose

Two-dimensional cross-correlation.

Syntax

Description

C = xcorr2(A,B) returns the cross-correlation of matrices A and B with no scaling. xcorr2 is the two-dimensional version of xcorr. It has its maximum value when the two matrices are aligned so that they are shaped as similarly as possible.

xcorr2(A) is the autocorrelation matrix of input matrix A. It is identical to xcorr2(A,A).

See Also

conv2

Two-dimensional convolution.

filter2

Two-dimensional digital filtering.

xcorr

Cross-correlation function estimate.



[ Previous | Help Desk | Next ]