Introduction to “MATLAB”

The three elements of x are the required values of x1, x2, and x3. The “ inv ” function finds the inverse of the matrix A, if it exists. The above solution is correct because A is non-singular, (i.e. the determinant of A is non-zero). A preferred way of writing the program above is to replace “ X = inv(A)*B ” by: X = A \ B ................
................