0

I have a bmatrix like this:

original

and I want to change it to something similar to the picture below. How can I do it?

second

Edit 1: Code of my matrix is below:

\[
\begin{bmatrix}
    1 & 1 & 1 & 1 & 1 \\
    0 & 0 & 0 & 0 & 0 \\
    0 & 0 & 0 & 0 & 0 \\
    0 & 1 & 0 & 1 & 0 \\
    0 & 0 & 1 & 0 & 0 \\
    1 & 0 & 0 & 0 & 0 \\
    0 & 0 & 0 & 0 & 1 \\
    0 & 1 & 1 & 1 & 0 \\
    1 & 0 & 0 & 0 & 0 \\
    0 & 0 & 0 & 0 & 0 \\
\end{bmatrix}
\]

0 Answers0