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

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

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 Databases Questions!