Question: ( By Matlab ) Polynomial vs . piecewise polynomial interpolation; FNC 5 . 1 . 2 ) The following table gives the life expectancy in

(By Matlab) Polynomial vs. piecewise polynomial interpolation; FNC 5.1.2) The following table
gives the life expectancy in the U.S. by year of birth
(a) Defining "year since 1980" as the independent variable, use polyfit to construct and plot the
polynomial interpolant of the data.
(b) Use interp1 to construct and plot a piecewise cubic interpolant (use 'spline' option) of the
data.
(c) Use both methods to estimate the life expectancy for a person born in 2007. Which value is
more believable?
( By Matlab ) Polynomial vs . piecewise

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!