splineB(xd,yd,Ends,​Ders)

Coefficients of the Cubics For Nonuniform Cubic Spline Interpolation

You are now following this Submission

Coefficients of the Cubics For 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 to evaluate the spline, use splineA.m

Cite As

Mark Holmes (2026). splineB(xd,yd,Ends,Ders) (https://nl.mathworks.com/matlabcentral/fileexchange/67207-splineb-xd-yd-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