Question: use matlab to finish it4. You are given the following data:t = [ 0 .1 .499 .5 .6 1.0 1.4 1.5 1.899 1.9 2.0 ]y = [ 0 .02 .13 .19 .21 .26 .27 .29 .30 .31 .33 ]( a) Plot the data, using “*” at the data points, then try a polynomial fit of the correct degree to interpolate thisnumber of data points: what do you observe. Give an explanation of this error, in
-
Question: use matlab to finish it4. You are given the following data:t = [ 0 .1 .499 .5 .6 1.0 1.4 1.5 1.899 1.9 2.0 ]y = [ 0 .02 .13 .19 .21 .26 .27 .29 .30 .31 .33 ]( a) Plot the data, using “*” at the data points, then try a polynomial fit of the correct degree to interpolate thisnumber of data points: what do you observe. Give an explanation of this error, in
use matlab to finish it
4. You are given the following data:
t = [ 0 .1 .499 .5 .6 1.0 1.4 1.5 1.899 1.9 2.0 ]
y = [ 0 .02 .13 .19 .21 .26 .27 .29 .30 .31 .33 ]
( a) Plot the data, using “*” at the data points, then try a polynomial fit of the correct degree to interpolate this
number of data points: what do you observe. Give an explanation of this error, in particular why is the term
badly conditioned used if you see?
( b) Plot the data along with a spline interpolant. How does this compare with the plot above? What is a way to
make the plot better?
-
There are 2 steps to solve this one.SolutionStep 1
Answer
OR