xcorrhas 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 usesxcorr,you may findCross-correlationuseful which is a submission on File Exchange. I am not sure it will be faster than xcorr.
Best Answer