I have a very long vector A, and I want to take each 10 elements of it and multiply it element-by-element (.*) by another vector has length 10 called "carrier" without using for loop because it takes very long time. This portion of the code did the required but it takes a very long time so is there any way to do it without for loop?
s = []; for k2 = 1:length(A) s = [s sequence(1+(k2-1)*10:k2*10).*carrier]; end
Best Answer