# Homework Solution: Need some help with writing MATLAB code of LU decomposi…

Need some help with writing MATLAB code of LU decomposition of a matrix with AND without partial pivoting, separately. 4. (8 points) Write an LU factorization code and use it solve the system of equations Ax - b, where 14 14 14 52 -15 2-32 9 15 365 16 5 47 49 532 16 49 79 and b = [-15,-100. 106, 329, 463]T. The correct answer is x = [O, 1, 2, 3, 4]T 5. (8 points) Write an LU factorization code that does partial pivoting and use it solve the system of equations Ax = b, where 9 3 2 0 7 A=27782 0 9 7 2 2 7 3 6 4 3 and b = [35, 58, 53, 37, 39]1. The correct answer is x = [0, 1, 2, 3, 4]1.

5)

Need some succor with responseableness MATLAB enactment of LU resolution of a matrix with AND externally inequitable pivoting, individually. 4. (8 points) Write an LU factorization enactment and explanation it work-out the method of equations Ax – b, where 14 14 14 52 -15 2-32 9 15 365 16 5 47 49 532 16 49 79 and b = [-15,-100. 106, 329, 463]T. The reform response is x = [O, 1, 2, 3, 4]T 5. (8 points) Write an LU factorization enactment that does inequitable pivoting and explanation it work-out the method of equations Ax = b, where 9 3 2 0 7 A=27782 0 9 7 2 2 7 3 6 4 3 and b = [35, 58, 53, 37, 39]1. The reform response is x = [0, 1, 2, 3, 4]1.

## Expert Response

5) 