Cubic funtion for interpolating

4 views (last 30 days)
GiselleG on 22 Apr 2021
Answered: Stephan on 23 Apr 2021
Hi I am woking on this problem but dont know how to approach it.
can anyone help me?
i have an X value of [1:10]
and the y looks like this [0 0.35 0.60 0.92 0.102 0.93 0.84 0.79 0.75 0.72 0.69]
and we were asked the following;
Use matlab to derive an interpolating polynomial using the method of undetermined
coefficients for a cubic function and the interpolated value of f(x) for the given value
of x= 5.3. Use matlab to determine the coefficients for the functions and output the
coefficients and the interpolated value for the function.

Answers (1)

Stephan on 23 Apr 2021


Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by