xcorr2
2-D cross-correlation.
📝Syntax
C = xcorr2(A)
C = xcorr2(A, B)
📥Input Arguments
Parameter Description
A matrices
B matrices
📤Output Arguments
Parameter Description
C 2-D cross-correlation or autocorrelation matrix
📄Description

xcorr2(A, B) calculates the cross-correlation between two matrices, A and B, in two dimensions, without any scaling applied.

💡Examples
X = ones(2, 3);
H = [1 2; 3 4; 5 6];
C = xcorr2(H, X)
🔗See Also
filter2conv2
🕔Version History
Version Description
1.3.0 initial version
Edit this page on GitHub