Question: Implement routines in independent files for the functions: [ L , U , exectime ] = myLU ( A ) : Computes the LU factorization
Implement routines in independent files for the functions:
LUexectimemyLUA:
Computes the LU factorization of a squared matrix A giving as output the two matrices L and U and the execution time.
yexectimemysolveLLc:
Computes the solution of a lower triangular system of equations Ly c with outputs for the systems solution and and the execution time.
xexectimemysolveUUb:
Computes the solution of an upper triangular system of equations Ux b with outputs for the systems solution x and the execution time.
LUxexectimemysolveLUAb:
Computes the solution of the squared system Ax b using an LU factorization of the matrix A and giving as outputs both matrices L and U the solution vector x and the total execution time. For the construction of this function, use the files constructed in the previous items of this list myLU, mysolveL and mysolveU.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
