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. (2025). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |