Question: Using Matlab and dont use previous answers Develop an M-file to implement polynomial regression. Pass the M-file two vectors holding the x and y values

Using Matlab and dont use previous answers
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. Problem 15.3 Fit a cubic polynomial to the following data: Along with the coefficients, determine r2 and sy/x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
