Use Matlab to solve the system
\begin{equation*}
\begin{pmatrix}1\amp 2 \amp 3 \\ 4 \amp 5 \amp 6\end{pmatrix}x= \begin{pmatrix} 10 \\ 11 \end{pmatrix}
\end{equation*}
[-4.5556; 0.1111; 4.7778]. One can get this solution with Matlab by using pinv(A)*b, which results in [-4.5556; 0.1111; 4.7778]. This approach takes longer because it involves computing the pseudoinverse of \(A\) which is a subject of MAT 532.
A = [1 2 3; 4 5 6; 7 8 9]; b = [10; 11; 12]; disp(A\b)
[-25.3333; 41.6667; -16.0000], quite different from what we got in Example 6.3.1. Matlab did not even recognize this as a system with a free variable.