nan_xcorr Data Correlation and Covariance nan_xcov

NaN Toolbox >> NaN Toolbox > Data Correlation and Covariance > nan_xcorr2

nan_xcorr2

Compute the 2D correlation

Calling Sequence

C = nan_xcorr2 (A, B)
C = nan_xcorr2 (A)
C = nan_xcorr2 (..., 'scale')

Parameters

C = nan_xcorr2 (A, B) :

Compute the 2D cross-correlation of matrices A and B.

C = nan_xcorr2 (A) :

Compute two-dimensional autocorrelation of matrix A.

C = nan_xcorr2 (..., 'scale'):

-

biased :

scales the raw cross-correlation by the maximum number

unbiased :

scales the raw correlation by dividing each element

coeff :

normalizes the sequence so that the largest

none :

no scaling (this is the default).

Authors

nan_xcorr Data Correlation and Covariance nan_xcov