image thumbnail

Circular Cross Correlation using FFT

version 1.0.0.0 (1.69 KB) by Johannes Schmitz
Calculate the circular and non-circular cross correlation using the FFT method.

1.6K 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 (2021). 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

Community Treasure Hunt

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

Start Hunting!