Question: MATLAB QUESTION You have the following 10 data points recorded in an experiment (x is the independent variable and y is the dependent variable): a)
MATLAB QUESTION
You have the following 10 data points recorded in an experiment (x is the independent variable and y is the dependent variable):

a) You decide to use the built-in Matlab function polyfit() to fit the data with a 9th order polynomial, using the input: p = polyfit(x,y,9).
Find the value of r2 for this fit. explain this answer
b) These data points describe the percentage of surveyed people, y, who have been to the dentist within the last x years. Discuss your interpretation of the fit and what it means for interpolated and/or extrapolated values using this function. Explain your reasoning
0.5 13 1.0 17 1.7 19 2.0 23 2.2 28 2.7 31 3.1 35 3.6 44 3.9 45 4.5 54
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
