autocorr2d

Compute the 2D spatial autocorrelation of a matrix or image using the Wiener - Khintchine Theorem.

You are now following this Submission

Compute the 2D spatial autocorrelation of a matrix or image I using the Wiener - Khintchine Theorem. The output is the normalized correlation coefficient -1 < C < 1.
The center pixel of A will have C = 1. Using images with odd dimensions will give results that are easier to interpret.
ref: http://mathworld.wolfram.com/Wiener-KhinchinTheorem.html

See detailed examples in the m-file help.

Cite As

Tristan Ursell (2026). autocorr2d (https://www.mathworks.com/matlabcentral/fileexchange/67348-autocorr2d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0