Question: Task 4: Write a Script to Solve a Matrix Inverse Using Tasks 1, 2 and 3 (4 pts) Write a script a4task4.m to compute a

Task 4: Write a Script to Solve a Matrix Inverse Using Tasks 1, 2 and 3 (4 pts) Write a script a4task4.m to compute a numeric inverse for the following matrix 2-31 A-5 1 6 4 3 -5 using the protocol solving for column vectors 12 13 32 given column vectors 0 0 0 with the inverse then being constructed as Implement this by calling your function solve_LU to get the first column of the inverse matrix. Then, in a looping structure, call forward _elim and backward elim to construct the remaining two columns of the inverse matrix. Test your result by multiplying matrix A with its numeric inverse A-1 which should return the identity matrix where elements that differ from either 0 or 1 are due to accumulated roundoff error. Write the numeric result of AA to the command window using disp. This output should look like an Identity matrix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
