Question: (Matlab) (a) Write a Matlab function that inputs the dimension n and a n n matrix A, performs finds the LU factorization of A (stored

(Matlab) (a) Write a Matlab function that inputs the dimension n and a n n matrix A, performs finds the LU factorization of A (stored in a single matrix), and outputs the number of flops used. Print out or write out your function (b) Apply your function to 10 x 10, 20 x 20, 100 100, and 200 200 matrices and print out your results in each case. (Matlab) (a) Write a Matlab function that inputs the dimension n and a n n matrix A, performs finds the LU factorization of A (stored in a single matrix), and outputs the number of flops used. Print out or write out your function (b) Apply your function to 10 x 10, 20 x 20, 100 100, and 200 200 matrices and print out your results in each case
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
