for x=1:1:rows
for y=1:1:cols
RE_p(y,x) = RE(y,x,bestori_map(y,x)); RO_p(y,x) = RO(y,x,bestori_map(y,x));
end
end
– RE, RO: arrays of size cols*rows*8;
– bestori_map: array of size cols*rows;
what is the best way (and/or fastest) to vectorize this piece of code withouth the need of for cycles ?
Thank you
Best Answer