for i=1:33 for j=1:7 for l=1:25 Total_V(i,j,l)=0; for k=1:6 Total_V(i,j,l)= Total_V(i,j,l)+Car_Stock(i,j,k,l); end end endend
MATLAB: Can I do this summation without the for loops
sumsummation
Best Answer