Question: 8. (EXTRA CREDID LU Decomposition without partial pivoting pseudocode: In the class textbook, a n. The pseduocode looks like: Deconpose (A, n) DOFOR i k

 8. (EXTRA CREDID LU Decomposition without partial pivoting pseudocode: In the

8. (EXTRA CREDID LU Decomposition without partial pivoting pseudocode: In the class textbook, a n. The pseduocode looks like: Deconpose (A, n) DOFOR i k +1, n factor a (i,k) /a (k,k) a (i,k)factor DOFOR j = k + 1, n a (i,j) a (i,j) - factor * a(k,j) END DO END DO END DO END Decompose (a) Study the pseudocode and then develope a MATLAB function that performs the decomposition. (b) If you understand the code, explain where the coefficients of the L and the U and stored. What is the purpose of this method of storing? (c) Upgrade your code such that it writes the L matrix separately and the U matrix separately. [Hint: You might find it beneficial to use the MATLAB built-in function zeros (n,n) 8. (EXTRA CREDID LU Decomposition without partial pivoting pseudocode: In the class textbook, a n. The pseduocode looks like: Deconpose (A, n) DOFOR i k +1, n factor a (i,k) /a (k,k) a (i,k)factor DOFOR j = k + 1, n a (i,j) a (i,j) - factor * a(k,j) END DO END DO END DO END Decompose (a) Study the pseudocode and then develope a MATLAB function that performs the decomposition. (b) If you understand the code, explain where the coefficients of the L and the U and stored. What is the purpose of this method of storing? (c) Upgrade your code such that it writes the L matrix separately and the U matrix separately. [Hint: You might find it beneficial to use the MATLAB built-in function zeros (n,n)

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!