Circular Cross Correlation using FFT

Calculate the circular and non-circular cross correlation using the FFT method.
1.8K Downloads
Updated 17 Oct 2013

View License

Rough idea:
Get the crosscorrelation of two vectors a and b by:

e = fft(c);
f = fft(d);

g = e.*conj(f);

h = ifft(g);

See code for complete version and details like zeropadding.

Cite As

Johannes Schmitz (2024). Circular Cross Correlation using FFT (https://www.mathworks.com/matlabcentral/fileexchange/43967-circular-cross-correlation-using-fft), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0