Write a Matlab function polyinterp.m that takes as input a set of (x, y) interpolating points and another x 0 , and outputs y 0 , the value of the interpolating polynomial at x 0 . The first line of...


Write a Matlab function polyinterp.m that takes as input a set of (x, y) interpolating points and another x0, and outputs y0, the value of the interpolating polynomial at x0. The first line of the file should be function y0 = polyinterp(x,y,x0), where x and y are input vectors of data points. Your function may call newtdd from Program 3.1 and nest from Chapter 0, and may be structured similarly to Program 3.2, but without the graphics. Demonstrate that your function works.



Nov 11, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here