Linear interpolation

This tools performs and visualizes a linear 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

x-value

Graph


See also

Quadratic interpolation · Cubic spline interpolation · Polynomial interpolation

Additional information

In mathematics, linear interpolation is a method of curve fitting using linear polynomials. Read more

Source code

JavaScript source code (linear-interpolation.js)

Keywords

math interpolation linear function graph points x y