Question: Develop an M-file to implement polynomial regression. Pass the M-file two vectors holding the x and y values along with the desired order m. Test

Develop an M-file to implement polynomial regression. Pass the M-file two vectors holding the x and y values along with the desired order m. Test it by solving Prob. 15.3.


Data From Problem 15.3

Fit a cubic polynomial to the following data:

X 3 y 1.6 4 3.6 5 4.4 7 8 9 11

Along with the coefficients, determine rand sy/x.

X 3 y 1.6 4 3.6 5 4.4 7 8 9 11 3.4 2.2 2.8 3.8 12 4.6

Step by Step Solution

3.45 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ANSWER function coefficients r2 syx polynomialregressionx y m Determine the number of data points n ... View full answer

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 Applied Numerical Methods Questions!