Skip to main content

Section 2.4 Chanllenge Question

You know how to get the reduced echelon form of a matrix.
Exercise: Write a code for echelon form of a matrix. Moreover, in the echelon form, we ask that each leading entry is one! Then test your code using the following matrix.
\begin{equation*} A = \begin{pmatrix} 0 \amp 3 \amp -6 \amp 6 \amp 4 \amp -5 \\ 3 \amp -7 \amp 8 \amp -5 \amp 8 \amp 9 \\ 3 \amp -9 \amp 12 \amp -9 \amp 6 \amp 15\\ 3 \amp -2 \amp -2 \amp 5 \amp 14 \amp 8 \end{pmatrix} \end{equation*}
My code is in the next chapter.