For the same data given for 7_1, -4 -2 01 2 a) Plot the data points with a circle marker (MATLAB). y -10 3 8 25 52 36 b) Plot the unique interpolating polynomial (passes exactly through each point)...


For the same data given for 7_1,<br>-4<br>-2 01 2<br>a) Plot the data points with a circle marker (MATLAB).<br>y -10 3<br>8 25 52 36<br>b) Plot the unique interpolating polynomial (passes exactly through each point) and print the equation of<br>the polynomial (in the form y = a, x^+ an-1X^-1 + .. + a;x + ao) to the screen using fprintf. Don't use<br>polyfit & polyval for this problem; use the backslash on the Van der Monde matrix & construct<br>the function handle and use fplot.<br>c) Plot the linear splines between each pair of points using interpl.<br>d) Plot the

Extracted text: For the same data given for 7_1, -4 -2 01 2 a) Plot the data points with a circle marker (MATLAB). y -10 3 8 25 52 36 b) Plot the unique interpolating polynomial (passes exactly through each point) and print the equation of the polynomial (in the form y = a, x^+ an-1X^-1 + .. + a;x + ao) to the screen using fprintf. Don't use polyfit & polyval for this problem; use the backslash on the Van der Monde matrix & construct the function handle and use fplot. c) Plot the linear splines between each pair of points using interpl. d) Plot the "not-a-knot" cubic spline using interpl 3.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here