三次样条插值函数的构造与matlab实现,三次样条插值函数的构造与Matlab实现

兵工自动化 自动测量与控制 O. I. Automation 2006 年第 25 卷第 11 期 Automatic Measurement and Control 2006, Vol. 25, No. 11 ·76· 文章编号:1006-1576(2006)11-0076-03 三次样条插值函数的构造与 Matlab 实现 许小勇 1,钟太勇 1,2 (1. 云南民族大学 数学与计算机科学学院,云南 昆明 650031;2. 郧阳师范高等专科学校 数学系,湖北 丹江口 442700) 摘要:三次样条插值函数边界条件由实际问题对三次样条插值在端点的状态要求给出。以第 1 边界条件为例,用节点处二阶导数表示三次样条插值函数,用追赶法求解相关方程组。通过 Matlab 编制三次样条函数的通用程序,可直接显示各区间段三次样条函数体表达式,计算出已给点插值并显示各区间分段曲线图。 关键词:三次样条;插值函数;Matlab 程序 中图分类号:O242.1 文献标识码:A Construction and Realization of Cubic Spline Interpolation Function XU Xiao-yong1, ZHONG Tai-yong1, 2 (1. School of Mathematics & Computer Science, Yunnan Nationalities University, Kunming, 650031, China; 2. Dept. of Mathematics, Yunyang Teacher College, Danjiangkou 442700, China) Abstract: The boundary conditions of cubic spline were given by the practical state at the extreme points of discrete function. Taking the first boundary condition as an example, it used the second order derivative of the junctions to represent the cubic spline interpolation function, and solved the relative equations with chasing method. The universal procedure of cubic spline was realized under the environment of Matlab, which could compute the interpolation point and directly display the exact expression of function and segmental curve in each interval. Keywords: Cubic spline; Interpolation function; Matlab program 0 引言 分段低次样条插值虽然计算简单、稳定性好、收敛性有保证且易在电子计算机上实现,但只能保证各小段曲线在连接处的连续性,不能保证整件曲线的光滑性。利用样条插值,既可保持分段低次插值多项式,又可提高插值函数光滑性。故给出分段三次样条插值的构造过程、算法步骤,利用 Matlab 软件编写三次样条插值函数通用

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值