Question: Write a MATLAB function that performs the interpolating polynomial of degree 3 method on a set of data points, representing the unique interpolating polynomial that

Write a MATLAB function that performs the interpolating polynomial of degree 3 method on a set of data points, representing the unique interpolating polynomial that fits all the points, then returns the interpolated value at some arbitrary location of the independent variable. Your function should be defined as the following: function Yint = polinomial (x,y,xx) Input: -x is a vector of all the values of x 8 -y is a vector of all the values of y 8 -xx is the value of the independent variable at which interpolation is calculated % Output -Yint is the interpolated value of dependent variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
