Question: Computer programming problem ) ( a ) Find the least squares quadratic polynomial for the data using basis phi 1 ( t ) =

Computer programming problem)
(a) Find the least squares quadratic polynomial for the data using basis \phi 1(t)=
1,\phi 2(t)= t, and \phi 3(t)= t2. Plot the solution and the data points.
ti -1-0.75-0.500.250.50.75
yi 1.000.81250.751.001.31251.752.3125
(b) Find the least squares linear polynomials for the two sets of data using the
basis \phi 1(t)=50, and \phi 2(t)= t1065. Notice that the QR decomposition
only needs to be done once. Plot your solutions and the data points.
ti 100010501060108011101130
(1)yi 601061536421639967266701
(2)yi 942293009220915090428800
1

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!