Number of computations in xcorr and fft
Show older comments
Hi all,
I want to know the complexity (number of additions and number of multiplications) of a program I run,so I want to know the number of computations (number of additions and number of multiplications)in xcorr and fft functions. can anyone help ?
Answers (1)
Honglei Chen
on 25 Feb 2013
0 votes
I believe xcorr uses fft internally, so it is essentially two FFT and one IFFT. The computation complexity of FFT is well known to be n*log(n).
HTH
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!