problem) prepare a function which solves a system of linear equations or find outs 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 describe 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