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

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

于 2022-03-18 发布 文件大小:226.67 kB
0 154
下载积分: 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 个回复

  • Draw
    说明:  改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC)(The program is to draw a sector)
    2011-03-08 20:22:11下载
    积分:1
  • hill-climbing
    改进爬山算法,用于风力发电机实现风能最大追踪,找到最佳叶尖速比,实现最大功率(modified hill-climbing algorithm for wind turbine with MPPT)
    2017-02-26 12:21:08下载
    积分:1
  • antisepsis_ark
    消毒柜产品,用VDF显示温度、消毒时间,还有各功能指示。用DS18B20采集温度,CS16312驱动VDF显示屏。(Sterilizer Products with VDF display temperature, sterilization time, there are various functional instructions. DS18B20 collection with temperature, CS16312 drive VDF display.)
    2007-10-05 22:54:47下载
    积分:1
  • BME280_driver-master
    高度计BME280的驱动程序,能够较为准确的得出相对于海平面的高度。(Altimeter BME280 driver, and can be more accurate relative sea level height are obtained.)
    2020-11-05 10:49:52下载
    积分:1
  • 电子闹钟
    基于S3C2440开发平台,实现电子闹钟功能,通过数码管显示时间,通过键盘扫描输入闹钟,闹钟响时,通过外部中断按键关闭。
    2022-06-21 10:23:11下载
    积分:1
  • Demo-code-for-E_Bike
    第一个参数设定助力功能允许与否,1为允许,0为禁止 第二个参数设定助力力量(PWM占空比),数值范围:0~0x355,数值越大,力量越大 第三个参数设定助力时间,数值越大,时间越长 (The first parameter set boost feature allows it or not, one to allow, 0 to disable the second parameter set booster power (PWM duty cycle), value range: 0 ~ 0x355, the greater the value, the greater the force the third parameter setting booster time, the greater the value, the longer)
    2013-07-29 16:02:44下载
    积分:1
  • stars
    opengl program for stars written in c.the points blink like stars in the sky.it was written in dev c++ platform.
    2014-11-10 21:35:19下载
    积分:1
  • MuGuard
    MuGuard Official base source
    2015-03-14 08:48:33下载
    积分:1
  • uart_two&touch
    说明:  该程序基于STM32F767实现双串口通信交互、触摸屏交互实验。(The program is based on stm32f767 to realize the experiment of two serial port communication interaction and touch screen interaction)
    2020-04-06 16:22:52下载
    积分:1
  • BP-vcSourceCode
    BP神经网络算法的VC+源码,前几天在网上找到,觉得很有用,和大家分享。(BP neural network algorithm VC+ source code, in the days before the Internet, feel useful, and share with you all.)
    2021-02-16 12:29:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载