Question: Please solve using matlab. * Programming: 1. Let A be a symmetric, positive definite, tridiagonal matrix. We store A as two vectors: an n 1

Please solve using matlab.
 Please solve using matlab. * Programming: 1. Let A be a

* Programming: 1. Let A be a symmetric, positive definite, tridiagonal matrix. We store A as two vectors: an n 1 vector v representing the main diagonal and an (n-1) 1 vector w representing the upper diagonal. Using basic programming (for loops, while loops, and if statements): (a) Write a function that inputs dimension n; column vectors v, w; then uses the inner product formulation of Cholesky's method to find the Cholesky factor, and then outputs the number of flops used. Print out or write out this function and turn it in. (b) Run your program for 10,100, 400, and v the vector of all 2's and w the vector of all -1's. Print out or write out your results and turn them in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!