Question: PLEASE show how to do it in MATLAB, PLEASE include codes of matlab Consider the interpolation problem employing the nine data points generated by evaluating
Consider the interpolation problem employing the nine data points generated by evaluating the function f(x)=1+x2(x2)(2x+1) at the tollowing nine x values [5,3,1,21,0,31,1,3,6] a) (10\%) Calculate the 8-degree polynomial interpolation solution using polyfit function. a) (5\%) Calculate the polynomial interpolation solution using cubic spline function. c) (5%) Plot all interpolations and the original function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
