how to reduce the execution time of xcorr() function?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sangeetha R
el 26 de Feb. de 2019
Respondida: Sangeetha R
el 1 de Mzo. de 2019
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
7 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!