Question: Please write this in MATLAB AND ANSWER ALL PARTS:) 3) POLYNOMIAL FITS Using the following data 0 2 10 4 21 6 15 8 18

Please write this in MATLAB AND ANSWER ALL PARTS:)

Please write this in MATLAB AND ANSWER ALL PARTS:) 3) POLYNOMIAL FITS

3) POLYNOMIAL FITS Using the following data 0 2 10 4 21 6 15 8 18 10 18 12 30 14 35 16 42 y 5 a) Find the least-squares best fit line to the data above using the method described in class. If the fit has the form f(x) = ax + b, save the value of a on HW4_12.dat, and b on HW4_13.dat b) Find the least-squares best fit parabola to the data above using the method described in the lectures. If the fit has the form f(x) = ax + bx + c, save the values of a, b, and con HW4_14.dat, HW4_15.dat, and HW4_16.dat

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!