Calculate inverse of matrix by gauss-jordan elimination


Question) Write a function which solves a system of linear equations or calculates the inverse of the matrix by Gauss-Jordan elimination.  Your function must accept a matrix as an argument and return a matrix of the similar dimension.

Note: Your function must be written to handle matrices of any size. Test your function with matrices of different sizes for which you know the solution to make sure that your function works correctly.

Use variable names which relate to their function and include comments that explain your program logic.

Do not use any built-in MATLAB functions except size(), input(), and zeros().

What is expected from this function consider the following linear system:

3x + 2y + z = 11

2x + 3y +z = 13

x + y + 4z = 12

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Calculate inverse of matrix by gauss-jordan elimination
Reference No:- TGS0192

Expected delivery within 24 Hours