Skip to main content

LINTERP

Linear interpolation (and extrapolation) over a table of (x, y) pairs. known_xs must be sorted ascending with at least 2 points.

CategoryEngineering
SyntaxLINTERP(x, known_xs, known_ys)

Parameters

ParameterRequiredDescription
xRequiredThe x value to interpolate at.
known_xsRequiredThe range or array of known x values, sorted ascending.
known_ysRequiredThe range or array of known y values, same length as known_xs.

Example

LINTERP(x, known_xs, known_ys)

Auto-generated from the EngCanvas function registry.