登录
首页 » c » 分段二次插值的C语言代码

分段二次插值的C语言代码

于 2022-03-18 发布 文件大小:226.67 kB
0 87
下载积分: 2 下载次数: 1

代码说明:

分段线性插值的算法: 1.定义分段线性插值基函数: double inter_Lin_Sec_Base (double X_set[],double x,int n,int k) 其中:X_set[]用来存放节点 的值,x用来传递需求的 值,n用来存放小区间的个数,k表示第 个基函数,返回类型为double; 2.定义拉格朗日插值函数,调用基函数; double inter_inter_Sec_L(double X_set[],double Y_set[],double x,int n) 其中:X_set[] 用来存放节点 的值,Y_set[]用来存放对应于 点的 值,x用来传递需求的 值,n用来存放小区间的个数,返回类型为double; 3.定义主函数,调用插值函数。 这里主要完成数据的输入和输出,功能函数的调用。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ledtest
    LED64级亮度变化,占空比方式, 队列循环(failed to translate)
    2011-04-23 10:37:15下载
    积分:1
  • dos
    another progaram that has been in matlab
    2013-07-11 09:37:40下载
    积分:1
  • 123
    神经网络C源码,完整源代码、编译后程序及测试数据(Neural network C source code)
    2012-04-26 16:20:10下载
    积分:1
  • LIN6-i0P9999-int
    PIC18F2420 用中断方式从0加到9999 采用四位工阳极数码管(PIC18F2420 interrupt from 0 added to the 9999 four workers anode digital tube)
    2012-09-05 15:24:02下载
    积分:1
  • MCU_JPEG
    MCU图片解码,使用STM32对JPEG图片解码,(STM32 JPEG decoder code,)
    2013-11-03 20:09:53下载
    积分:1
  • 一个用c#实现的计算器源码,实现了计算器的常见功能,本程序侧重于让大家了解各种逻辑关系和常见算法,故界面较为粗糙,还请大家谅解...
    一个用c#实现的计算器源码,实现了计算器的常见功能,本程序侧重于让大家了解各种逻辑关系和常见算法,故界面较为粗糙,还请大家谅解-A used c# Realize calculator source code to achieve a common calculator functions, this program focuses on allowing everyone to understand the logic of relations and the common algorithm, so the interface is more rough, also requested the U.S. understanding
    2022-05-27 05:04:51下载
    积分:1
  • PO
    说明:  多边形平板高频散射,采用物理光学发求解多边形平板的雷达散射截面(Polygonal planar high frequency scattering, Using physical optics to solve the radar cross section of a polygonal flat plate)
    2016-10-02 17:41:22下载
    积分:1
  • Intends-stable-network-
    拟稳平差和秩亏网平差程序,用于计算不稳定点的坐标平差等(ntends stable adjustment and rank deficient network adjustment program, used to calculate the coordinates of the point adjustment, etc. instability)
    2021-01-08 16:08:51下载
    积分:1
  • STM32对RC522的块进行读写操作
    通过stm32对RC522进行操作,实现对卡内块的操作,读写
    2023-05-01 05:20:03下载
    积分:1
  • FlightGear-UDP-communication-CPP
    实现FlightGear与外部通信,获得仿真的飞行参数及配置FlightGear。便于基于FlightGear的地面站设计(communication with FlightGear based on UDP in C++)
    2021-01-06 15:48:53下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载