Interpolation and Prediction Functions

Interpolation is the process of finding intermediate values in data by fitting appropriate functions (typically polynomials) piece-wise through adjacent data points. This method contrasts with regression, in which a single function is fit, in a least-squares sense, through all data points.

bspline, interp B-spline interpolation with user-supplied knots.

cspline, pspline, lspline, interp Cubic spline interpolation in one and two dimensions, with cubic, parabolic, and linear end conditions.

linterp Linear interpolation.

predict Predicted values from previous values.