Question: * 1 . Write a MATLAB function which computes the solution of A x = g using a normalized Cholesky decomposition, when A is a
Write a MATLAB function which computes the solution of using a
normalized Cholesky decomposition, when is a tridiagonal, Toeplitz, positive
definite matrix of size with on the diagonal and on the superdiagonal and
subdiagonal. The first line of your code should be: function tridabg Show
how you tested your code for accuracy.
Coding instructions: If an array grows inside a "for" loop, preallocate all necessary
memory. Use only two "for" loops and do not use any logical tests. Do not create or
store any twodimensional arrays and do not use Matlab's chol function. Store only
what is necessary and reuse variable names by overwriting.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
