Modify the MATLAB code for :Factorization with Pivoting (lufact.m) so that and are output, then by using solve the following linear system;
- What is the solution vector?
- Output and matrices.
Hint: You can check your results by using MATLAB as;
>>[L,U,P]=lu(A,b)
>>inv(P)*L*U