Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Cross-correlation of two * N*-D arrays

**Library:**DSP System Toolbox / Statistics

The Correlation block computes the cross-correlation
of two * N*-D input arrays along the first-dimension.
The computation can be done in the time domain or frequency domain.
You can specify the domain through the

Takes the Fourier transform of both input signals,

and*U*.*V*Multiplies

and*U*, where * denotes the complex conjugate.*V*^{*}Computes the inverse Fourier transform of the product.

If you set **Computation domain** to `Fastest`

,
the block chooses the domain that minimizes the number of computations.
For information on these computation methods, see Algorithms.

Was this topic helpful?