I'm looking for how to vectorize this loop :
r1 and r2 are two vectors of the same size.
No products are associated with this question.
Direct link to this answer:
Faster for long vectors, slower for short ones:
r = conv(r1,r2);
r = r(1:numel(r1));
Direct link to this comment:
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?