Matlab编制三次样条函数的通用程序我要分享

Programming the general program of cubic spline function with MATLAB

spline3 三次样条函数

关注次数: 267

下载次数: 0

文件大小: 1KB

代码分类: 仿真计算

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

三次样条插值函数边界条件由实际问题对三次样条插值在端点的状态要求给出。以第 1 边界条件为例, 用节点处二阶导数表示三次样条插值函数,用追赶法求解相关方程组。通过 Matlab 编制三次样条函数的通用程序, 可直接显示各区间段三次样条函数体表达式,计算出已给点插值并显示各区间分段曲线图。


English Description:

The boundary conditions of cubic spline interpolation function are given by the state requirements of cubic spline interpolation at the end point. Take the first boundary condition as an example,


代码预览

spline3.m