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

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!