Mth Order Piecewise Spline Interpolation

版本 1.2.0.0 (52.0 KB) 作者: Husam Aldahiyat
A GUI that plots and gives equations for variable order intermediate splines.
4.0K 次下载
更新 2012/9/12

查看许可证

GSP is a graphical user interface which takes x and y points as inputs, along with the order m, then outputs mth order splines between each of the x points. In most cases additional constraints are to be entered as well.

Example:

Input:

x points : [1 2 3 4]
y points : [2 7 -1 5]
Order : 2
*One Additional Constraint is Required*
f '' (1) = 0

Output:

Polynomials:
0 5 -3
-13 57 -55
27 -183 305

In the Range:
1 2
2 3
3 4

This means the following:

for 1 < x < 2 y = 0*x^2 + 5*x - 3
for 2 < x < 3 y = -13*x^2 + 57*x - 55
for 3 < x < 4 y = 27*x^2 - 183*x + 305

引用格式

Husam Aldahiyat (2026). Mth Order Piecewise Spline Interpolation (https://ww2.mathworks.cn/matlabcentral/fileexchange/22912-mth-order-piecewise-spline-interpolation), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息
致谢

参考作品: MATLAB Earthquake

版本 已发布 发行说明
1.2.0.0

Updated to include an App file for R2012b

1.1.0.0

Corrected bug, added continuity button and integrated examples, improved code.

1.0.0.0