Question: Show me MATLAB code please! 2. (Coding) In HW3, the Gaussian elimination method and the backward substitution has been applied to solve the linear system
2. (Coding) In HW3, the Gaussian elimination method and the backward substitution has been applied to solve the linear system Az = 5, where Li 2 -10 4 11 2 5 1 1 2 2 | -1 3 7 0 3 1 1 1 -2 9 0 2 and 6= -2 0 1 3 10 0 | 1 1 2 -1 0 20 following step (a) and (b) below. (a) Revise your code in HW3 properly to obtain the LU decomposition of the matrix A (you need to define a new matrix to store the elements in L). (b) Apply forward substitution to solve Lyb. (c) Apply backward substitution to solve Ur = (Compare the solution you obtain with the one obtained in HW3). Submit the code for Problem 2 in the appendix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
