Signal Processing Toolbox | ![]() ![]() |
Estimate the two-dimensional cross-correlation.
Syntax
C=
xcorr2(A) C=
xcorr2(A,B)
Description
returns the cross-correlation of matrices C = xcorr2(A,B)
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.
is the autocorrelation matrix of input matrix xcorr2(A)
A
. It is identical to xcorr2(A,A)
.
See Also
|
Compute the two-dimensional convolution. |
|
Filter two-dimensional data. |
|
Estimate the cross-correlation function. |
![]() | xcorr | xcov | ![]() |