- Develop a code – in MATLAB – that performs the Newton algorithmto construct an interpolating polynomial for an arbitrary number ofpoints. The function should take the following input values: x, theevaluation points (that is, the tabulated values); y or f(x), thefunction values at these points, and XX, the points to beinterpolated. It should return YY, the function values at thepoints to be interpolated. Use the example above (#1) to test yourfunction, with x and y from the table and XX = [-2.1:0.1:2.1].Submit this second plot.
- With your new function, interpolate a difficult function:index0123456791011x-5-4-3-2-1012345f(x)1/261/171/101/51/211/21/51/101/171/26Interpolate the points XX = [-5:0.25:5]. Plot the points
OR
PayPal Gateway not configured
ORPayPal Gateway not configured