Question: Part A: Complete the following, using Matlab's rand ( n) command to generate random nn matrices. - For each n that you are considering, generate

 Part A: Complete the following, using Matlab's rand ( n) command

Part A: Complete the following, using Matlab's rand ( n) command to generate random nn matrices. - For each n that you are considering, generate a number of large random matrices and measure the average computing time that Matlab's LU factorization algorithm requires to factor each matrix into L and U. Be sure to specify how many factorizations you are averaging over. In the computing time estimate, do not include the cost of constructing the random matrices. - Plot the average computing time vs n for a variety of n to visualize the relationship between n and computing time. Choose appropriate scales for the axes in your plot. - Analyze the plot to determine how the time for computing LU varies with n for large n. Use big-Oh notation to describe the relationship and explain your findings

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!