
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due Sep 25, 2009
a. Following the pseudo-code of LU decomposition given in the class or in the textbook to write a MATLAB program to find the L and U matrices of the given matrices.
b. Write the formula for the forward/backward substitutions for solving the above the triangular linear systems. Program these formulae using MATLAB and solve the linear systems. Write the solutions into data files.
c. Solve the same linear systems using MATLAB’s inverse function inv(), and use these solutions to check your LU decomposition.
d. Building upon the LU decomposition program obtained above, write a MATLAB code to find the Cholesky decomposition of the given symmetric matrix following the approached described in the proof of Theorem 2 in Page 157 of the textbook.
Matrix A and vector B can be downloaded in the course page. Send all the MATLAB files and solutions to the instructor in a single ZIP pack.