• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

cubic interpolation formula

Hi there,

I am new to cubic interpolation and i am trying to code it. I just want to understand the formula to calculate cubic interpolation. If anyone could explain it, i would be most grateful.
3 Solutions
Which cubic interpolation formula?
Given any 4 points, you can find a cubic polynomial that fits those points, and solving for the coefficients can give you a formula for it.
You can also fit to constraints on first and second order derivatives, which would imply other formulas which you could similarly solve for.
Cubic interpolation is most commonly used by fitting a cubic through 3 points so leaving you with extra constraints to define the derivatives at either end. These are call cubic splines and come in many different forms. They are generally defined parametrically.

Cubic interpolation is a very big area. More detail as to what you'd like explained would be helpful.
dhsindyRetired considering supplemental income.Commented:
There a least two I am aware of bi/mono.  Have a look at this website:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now