登录
首页 » 算法 » / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = /功能annot

/ = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = /功能annot

于 2023-07-25 发布 文件大小:1.34 kB
0 172
下载积分: 2 下载次数: 1

代码说明:

//=== === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m20,则本函数自动按m=min{n,20}处理 // double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)... -//=== === === === === ==== === === === === === === ==== === =// function annotations// function name : PolyFit// Function functions : Least Squares Curve Fitting// Use : double* x n-store data point coordinates of the X//* y double-storage n data point Y coordinates// int n-------- given the number of data points//* a double---- returned to the m-1 m fit polynomial coefficients// int m-------- polynomial fitting items , which is the highest polynomial fitting time for m-1. Request m

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

发表评论

0 个回复

  • A good learing object for K
    K均值代码,安全,好用,代码书写规范,是学习用的好资料-A good learing object for K-means
    2023-03-14 03:00:03下载
    积分:1
  • 在VC下调用科学计可视化语言软件IDL的程序示例!
    在VC下调用科学计算可视化语言软件IDL的程序示例!-the VC called scientific visualization software IDL language of the examples!
    2022-06-03 06:54:00下载
    积分:1
  • 序列的DFT的快速
    计算序列的DFT的快速算法-DFT calculated sequence of the fast algorithm
    2022-02-26 10:35:27下载
    积分:1
  • 虚拟重排序
    这是一个有关汽车装配厂涂装车间虚拟重排序的简单规则代码,应用c++实现订单的重新分派。在此过程中并不改变原有汽车序列的实际顺序。This is a car assembly plant paint shop virtual reordering simple rule code, application c + + implementation reassignment orders. In this process does not change the actual order of the sequence of the original automobile.
    2022-08-07 07:54:14下载
    积分:1
  • 基于polarssl的思想封装的sm3mac的源代码
    基于polarssl的思想封装的sm3算法mac的源代码 很不错的代码,值得分享和借鉴
    2023-08-17 00:00:03下载
    积分:1
  • 工资管理系统
    资源描述工资管理系统,C语言作业,简单,易用
    2022-11-08 22:05:03下载
    积分:1
  • 使用高斯数的转换坐标正反,MAPP…
    利用高斯正反算进行坐标的转换,测绘专业必备之程序。-use Gaussian count for positive and negative coordinates of the conversion, mapping professionals required procedure.
    2022-06-03 00:29:34下载
    积分:1
  • 汉诺塔 C实现
    汉诺塔(又称河内塔)问题是源于印度一个古老传说的益智玩具。大梵天创造世界的时候做了三根金刚石柱子,在一根柱子上从下往上按照大小顺序摞着64片黄金圆盘。大梵天命令婆罗门把圆盘从下面开始按大小顺序重新摆放在另一根柱子上。并且规定,在小圆盘上不能放大圆盘,在三根柱子之间一次只能移动一个圆盘。
    2022-02-12 16:33:30下载
    积分:1
  • 数值计经典
    这些是数值计算方法的经典算法
    2022-09-28 10:25:03下载
    积分:1
  • 常用的C程序。主要内容包括多项式的计、复数运、随机数的产生、矩阵运、矩阵特征值与特征向量的计、线性代数方程组的求解、非线性方程与方程组的求解、插值与
    常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
    2022-08-04 05:36:45下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载