accumulator=zeros(numThetas,numRhos); accx_n=zeros(numEdgePixels,numThetas); for j=1:numThetas accumulator(j,:)=[0 histcounts(accx_n(:,j),rho)]; end
MATLAB: Hi, I am trying to vectorize following for loop. Need some help?
for loopvectorization
Best Answer