Question: Create a user-defined MatLab function that implements the Gauss elimination method called Gauss_alt. The input arguments would matrix [a] and [b] from linear algebra

Create a user-defined MatLab function that implements the Gauss elimination method called Gauss_alt. The input arguments would matrix [a] and [b] from linear algebra ([a]*[x]=[b]) and the output [x]. If the input argument [b] is a row vector, the function should be able to transform it to a column vector. Use the augmented matrix for [ab] for all operations in the function. Solve the following set of equations by hand (explain the steps you are following): x + 2x 2x = 9 2x, +3x+x = 23 3x + 2x - 4x3 = 11 Use the function Gauss_alt to validate your hand-calculated solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
