Quadratic Spline Interpolation
Version 1.2.0.0 (6.29 KB) by
Ahmed Mekkawy
This MATLAB Code provides quadratic spline interpolation for a set of data points.
Quadratic Spline Interpolation with first linear spline is provided by this code.
In the first two lines the user has to insert data points (x), (y) and then execute the program.
The output of this code is the coefficients of quadratic equation in a vector (Coeff) sorted by [a1;b1;c1;a2;b2;c2.....,an;bn;cn].
A plot is generated contains the interpolated data in red circles, quadratic splines.
Cite As
Ahmed Mekkawy (2026). Quadratic Spline Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/50622-quadratic-spline-interpolation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
- AI and Statistics > Curve Fitting Toolbox > Splines >
- Mathematics and Optimization > Optimization Toolbox > Quadratic Programming and Cone Programming >
Find more on Interpolation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
