I am using MATLAB and having some issues formatting the output of a matrix. Currently, the matrix looks like:
Columns 1 through 7
4 6 5 1 0 0 0
7 8 4 0 1 0 0
6 5 9 0 0 1 0
1 0 0 0 0 0 -1
0 1 0 0 0 0 0
0 0 1 0 0 0 0
Columns 8 through 9
0 0
0 0
0 0
0 0
-1 0
0 -1
Is there a way to get the whole matrix to show up "closer" together, something like this:
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 -1 0 0
0 0 0 0 -1 0
0 0 0 0 0 -1