MATLAB: I want to find cross correlation of two different sequence without using inbuilt xcorr function. It has to be less time consuming than xcorr.

MATLAB

I have a method which does cross correlation and gives same result as xcorr, but my function is time consuming and takes more time than xcorr. Please if anyone knows how to work for less time consuming cross correlation method.

Best Answer

Hi,
xcorr has been written very efficiently to have maximum performance in terms of time taken. If you want to look out for an implementation for cross correlation which doesn’t uses xcorr, you may find Cross-correlation useful which is a submission on File Exchange. I am not sure it will be faster than xcorr.