I want to find the windowed correlation values of x & y having array size of 1*20000. Xcorr function taking too much time to execute. Is there any way to reduce the execution time. The code is given below
k=1;for i=1:stepsize:(length(x)-w+1) corrValue_w=xcorr(x(i:i+w-1),y(i:i+w-1)); maxCorrValue_w(k)=max(corrValue_w); k=k+1;end
Best Answer