splineA(xd,yd,x,End​s,Ders)

Nonuniform Cubic Spline Interpolation

You are now following this Submission

Nonuniform Cubic Spline Interpolation
Includes first or second derivative end conditions (so, as special cases, it includes natural and clamped cubic splines)
If you want the formulas for the resulting cubics, use splineB.m

Cite As

Mark Holmes (2026). splineA(xd,yd,x,Ends,Ders) (https://nl.mathworks.com/matlabcentral/fileexchange/67206-splinea-xd-yd-x-ends-ders), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0.0

Fixed a subscript in a for loop

1.1.0.0

made a few minor changes in the comments; the code was not changed

1.0.0.0