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.![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.](https://d2vlcm61l7u1fs.cloudfront.net/media%2Fcd5%2Fcd5e8ba4-dbf0-48b1-bfb3-346d86fc58be%2FphpRZGhbQ.png)