I know how to get an augmented matrix with square brackets, by using the code
Code: Select all
\left[\begin{array}{rrrrr|r}
-3 & 6 & -1 & 1 & -7 \\
1 & -2 & 2 & 3 & -1 \\
2 & -4 & 5 & 8 & -4
\end{array}\right]
\begin{pmatrix}[ccc|c]
but it didn't work. Please help anyone?