Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8.11 Solving normal equations versus QR factorization. In this problem we compare the accuracy of the two methods for solving a least squares problem minimize

image text in transcribed

8.11 Solving normal equations versus QR factorization. In this problem we compare the accuracy of the two methods for solving a least squares problem minimize || Ax 6||2. We take [ 1 10-k 1 0 10-k ] , [ -10-k 1 1+ 10-k A= b= 1-10-k for k= 6, k = 7 and k = 8. (a) Write the normal equations, and solve them analytically (i.e., on paper, without using MATLAB). (b) Solve the least squares problem in MATLAB, for k = 6, k = 7 and k = 8, using the recommended method x = A b. This method is based on the QR factorization. (c) Repeat part (b), using x = (A*A) I (A*b). Compare the results of this method with the results of parts (a) and (b). Remark. Type format long to make MATLAB display more than five 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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions