Develop your own M-file to determine the Cholesky factorization of a symmetric matrix without pivoting. That is,
Question:
Develop your own M-file to determine the Cholesky factorization of a symmetric matrix without pivoting. That is, develop a function that is passed the symmetric matrix and returns the matrix [U]. Test your function by using it to solve the system in Prob. 10.8 and use the built-in function chol to confirm that your function is working properly.
Data From Problem 10.8
(a) Perform a Cholesky factorization of the following symmetric system by hand:
(b) Verify your hand calculation with the built-in chol function.
(c) Employ the results of the factorization [U] to determine the solution for the right-hand-side vector.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Applied Numerical Methods With MATLAB For Engineers And Scientists
ISBN: 9781259027437
3rd Edition
Authors: Steven C. Chapra
Question Posted: