# Writing a Matlab Function for Cubic Polynomial Interpolation Algorithm

Not what you're looking for? Search our solutions OR ask your own Custom question.

(See attached file for full problem description)

---

There are a few parts to this problem. Please complete and explain each part.

1. Consider the array

in which, for some fixed x, the , , and are computed by the formulas

Write a Matlab function which will take inputs , and

will return output .

2. Note that when 's and 's are fixed, is a function of x. Plot this function.

3. Compare the function in (2) with the cubic polynomial interpolating . ( should be the value of the cubic interpolating polynomial at x.)

Â© BrainMass Inc. brainmass.com December 15, 2022, 4:58 pm ad1c9bdddfhttps://brainmass.com/math/discrete-math/matlab-function-cubic-polynomial-interpolation-algorithm-55859

#### Solution Summary

Writing a Matlab Function for Cubic Polynomial Interpolation Algorithm is investigated.

$2.49