- You can remove the ; at the end of the line
- You can add the line disp(A)
- You could show it graphically by adding a call to imagesc on each iteration of the loop
- For the image solution, you might consider storing the (step-wise) output of A so that you can play the movie again later, or write it to a video file, etc.
- You could plot each step into a separate subplot (this could get slow if you have a large matrix)
