Question: please provide comments and provide MATLAB code, please make sure that it is correct please (i.e inv(A) =output of function) Complete the following problems involving
Complete the following problems involving LU factorization to find the inverse of a matrix: (a) Write a function that finds the inverse of a square matrix column-by-column using LU factorization (see example 1 in Lecture 06). You may use the built-in lu function with the permutation matrix (se0 section 3 in Lecture 05 ) output option. (b) Test your function for the matrix A=1260745401.504221607200.5424172.5514 Compare your solution componentwise with the result produced by inv (A). (c) Compute the matrix 1, , and Frobenius norms. (d) Compute the condition number of A for the matrix 1, , and Frobenius norms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
