tools.timodenk.com

Cubic spline interpolation - tools.timodenk.com

  • ️Timo Denk

Performs and visualizes a cubic spline interpolation for a given set of points.

Syntax for entering a set of points: Spaces separate x- and y-values of a point and a Newline distinguishes the next point. Hit the button Show example to see a demo.

Points

Equation

By default, the algorithm calculates a "natural" spline. Details about the mathematical background of this tool and boundary conditions can be found here.

LaTeX


Additional information

Cubic spline interpolation is a mathematical method commonly used to construct new points within the boundaries of a set of known points. These new points are function values of an interpolation function (referred to as spline), which itself consists of multiple cubic piecewise polynomials. Read more

Source code

Keywords

math interpolation cubic spline function points x y