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): y
matlab question
You have the following 10 data points recorded in an experiment (x is the independent variable and y is the dependent variable): y 0.5 13 1.0 17 1.7 19 2.0 23 2.2 28 ez 2.7 31 3.1 35 3.6 44 3.9 45 4.5 54 As a check, sum(x) = 25.2 and sum(y) = 309. 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. Give your answer to at least 2 decimal places. Explain/interpret your r2 value from the previous question (1-2 sentences) 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 y, means for interpolated and/or extrapolated values using this function. Explain your reasoning (2-4 sentences). A- U X2 x2 E ABC 123 You have the following 10 data points recorded in an experiment (x is the independent variable and y is the dependent variable): y 0.5 13 1.0 17 1.7 19 2.0 23 2.2 28 ez 2.7 31 3.1 35 3.6 44 3.9 45 4.5 54 As a check, sum(x) = 25.2 and sum(y) = 309. 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. Give your answer to at least 2 decimal places. Explain/interpret your r2 value from the previous question (1-2 sentences) 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 y, means for interpolated and/or extrapolated values using this function. Explain your reasoning (2-4 sentences). A- U X2 x2 E ABC 123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
