Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Cholesky factorization versus QR factorization. In this probiem we compare the accuracy of the two methods for solving a least-squares problem minimize As: bll2. We

image text in transcribed
Cholesky factorization versus QR factorization. In this probiem we compare the accuracy of the two methods for solving a least-squares problem minimize "As: bll2. We take 1 1 1rr" A: 10* 0 , b: 1+1u-k , 0 10-* 1 10"\" forkz, k=7andk=8. (a) Write the normal equations, and solve them analytically (113., on paper, without using MATLAB). (b) Solve the least-squares problem in MATLAB, for k = 5, k = 7 and k = B, using the recommended method :I: - A\"). This method is based on the QR factorization. (c) Repeat part (b), using the Cholesky factorization method, i.e., x I 01' th)'. (A'b). (We assume that MATLAB recognizes that ATA is symmetric positive denite, and uses the Cholesky factorization to solve ATAzc = ATb). Compare the results of this method with the results of parts {a} and (b). Remark. Type format long to make MATLAB display more than ve digits

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Mathematics questions