for calculation of sum(sum(Xij)), i=1:100 and j=1:5, I used following script:

t=0

for i=1:100

   for j=1:5

        t=t+X(i,j);

    end

end

Do you recommend another script?

More Mahdieh Askarian's questions See All
Similar questions and discussions