Piecewise Cubic Spline Interpolation (from NUMERICAL RECIPES in C)
Version 1.0.0.0 (25.5 KB) by
Dr. Erol Kalkan, P.E.
Piecewise Cubic Spline Interpolation (from NUMERICAL RECIPES in C)
PIECEWISE CUBIC SPLINE INTERPOLATION: Two functions (for constructing and evaluating the spline function) written originally in C language in NUMERICAL RECIPES were adapted for MatLAB. A clear example is provided in "demo.m", which compares the results with the MatLAB's spline function's outcome.
Comments and suggestions are welcome; please don't forget to rate.
Cite As
Dr. Erol Kalkan, P.E. (2026). Piecewise Cubic Spline Interpolation (from NUMERICAL RECIPES in C) (https://www.mathworks.com/matlabcentral/fileexchange/66654-piecewise-cubic-spline-interpolation-from-numerical-recipes-in-c), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Splines in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
cubicSpline/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
