Solutions to Linear Equations Try solving it in MATLAB put c
Solutions to Linear Equations Try solving it in MATLAB put coefficients from left side of the equations into A A-13 5; 2 -41 put coefficients from right side of equations into column array B B I-7; 101 find solutions (X) by multiplying the inverse of A by B X inv(A) B Another way to solve Linear Equations using Matrix Left Division uses Gaussian elimination without forming the inverse A B
Solution
The standard method for computing the inverse of a matrix is Gaussian elimination.
x = A\\B is computed differently than x = inv(A)*B and is recommended for solving systems of linear equations.
To find the inverse of matrix A, using Gauss elimination, we must find a sequence of elementary row operations that reduces A to the identity and then perform the same operations on In to obtain inverser of A
