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.

34 Downloads

Updated Sun, 26 Dec 2021 20:52:57 +0000

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.
References:

Cite As

Meg Noah (2022). Smooth Operator (Stineman 1D Interpolation) (https://www.mathworks.com/matlabcentral/fileexchange/104195-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!