for k=2:mx-1for j=2:mx-2A(k,j-1) = (D*dt)/dx^(2)+U*dt/(2*dx);breakendbreakend
I set there is a zeros matrix with mx column and mx row and I want to find the points (2,1), (3,2), (4,3), (5,4) etc. Now it only show 1 column at (2,1) point. But if I delete two breaks, it will keep loop the second loop. How can I fix this???