Smooth Operator (Stineman 1D Interpolation)

Version 1.0.1 (113 KB) by Meg Noah
interp1_stineman - interpolates using the Stineman interploation. Demo shows performance against spline and pchip interpolations.


Updated 26 Dec 2021

View License

Purpose: to compute the stineman interpolation of a 1D curve stineman interpolation is warranted when the input sample data (x, v) require that:
  1. The curve requires piecewise smoothness between sample data, e.g., the values of ordinates at specified points change monotonically and the slopes of the line segements joining the points change monotonically, then the interpolating curve and its slope will change monotonically.
  2. No discontinuity in the slope of the interpolated curve: If the first derivative of segments of the sample data join monotonically, then the interpolated curve will also change monotonically through that point.
  3. Stability: Small changes in the sample ordinate value will result in small changes of the interpolated curve.

Cite As

Meg Noah (2023). Smooth Operator (Stineman 1D Interpolation) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

more descriptive title.