Skip to main content

INTERP.1D.CUBIC.SPLINE Function

INTERP.1D.CUBIC.SPLINE

Cubic Spline Interpolation.

Syntax

=INTERP.1D.CUBIC.SPLINE(dataX, dataY, queryPoints, extrapolate)

Parameters

NameTypeRequiredDescription
dataXDouble[]YesKnown x values.
dataYDouble[]YesKnown y values.
queryPointsObjectYesPoints to interpolate at.
extrapolateBooleanNoAllow extrapolation (true/false).

Returns

Calculated result based on input parameters

Examples

Error Conditions

ErrorCauseSolution

About SPLINE Interpolation

Interpolation estimates unknown values by fitting a function through known data points. The SPLINE method provides a specific approach to constructing this interpolating function.

Key Characteristics

When to Use:

  • When you have discrete data points and need intermediate values
  • For smoothing or curve fitting applications
  • When analytical functions are not available

Practical Applications

  • Data Analysis: Fill missing data points in time series
  • Scientific Computing: Resample data to different grids
  • Engineering: Smooth sensor readings
  • Graphics: Generate smooth curves from control points

See Also