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

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

于 2023-07-25 发布 文件大小:1.34 kB
0 202
下载积分: 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 个回复

  • adaboost检测
    /****************************************************************************  NJU Magic.  Copyright (c) 2007.  All Rights Reserved.                -------------------------------------------------------------------- Permission to use, copy, or modify this software and its documentation for educational and research purposes only and without fee is hereby granted, provided that this copyright notice appear on all copies and supporting documentation.  For any other uses of this software, in original or modified form, i
    2022-07-13 18:29:21下载
    积分:1
  • stc89c51芯片加pcf8591测电池电压在lcd1602上显示
    采用c语言,用keil编写,用stc89c51芯片,在加上pcf8591adc芯片,非常实用,通讯方式采用iic通讯,可测0~10v电压,用lcd1602显示,希望能过,第一次上传代码
    2022-02-03 10:41:39下载
    积分:1
  • 对文档中的某一单词进行统计,使用C++在VC环境中开发.
    对文档中的某一单词进行统计,使用C++在VC环境中开发.-right documentation of a particular word statistics, the use of the VC C development environment.
    2022-01-24 16:04:15下载
    积分:1
  • LCS Algorithm to c# To implement, for the people in the learning algorithm can u...
    LCS算法以c#来实现,对于学习算法的人可以用这个程序看看,演示是基于VS2005开发的。
    2022-01-22 14:05:06下载
    积分:1
  • matrix of the code library, very useful, please try downloading!
    关于矩阵运算的代码类库,非常有用,请下载试一试!-matrix of the code library, very useful, please try downloading!
    2023-02-19 04:50:04下载
    积分:1
  • 大数相乘、计时间、josep问题、计JC、分形图形
    大数相乘、计算时间、josep问题、计算JC、分形图形-multiply large numbers, computation time, Josep, calculated JC, fractal graphics
    2023-06-08 14:25:05下载
    积分:1
  • C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...
    C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区域,修改#define S 50 即可;以整形形式输入(取值范围1-32767)用户需要证明的区域数目,相联的一对矩阵; 输出形式:以0和1输出关联矩阵,和以blue yellow orange pink形式输出每个区域相对应证明出的颜色;-C language does four colors confirm 1. demands analyses question description: Had proven may use not to be many to 4 kind of colors to n region coloration, but satisfies the neighboring region to have the different color input form: Establishes provisionally more than 50 regions, if must prove more regions, revise#define S 50 then; Region number (value scope 1-32767) the user needs to prove which by the reshaping form input, unites a pair of matrix; Output form: By 0 and 1 output incidence matrixs, with form outputs the color by blue yellow orange the pink which each region corresponds proves;
    2022-10-20 02:35:04下载
    积分:1
  • C++编写的快速离散余弦变换
    快速DCT(离散余弦变换) 也许对图像处理有用。
    2022-03-31 18:56:19下载
    积分:1
  • polar 码的SC译码
    资源描述polar码,基于信道极化,分为好信道和坏信道,满足要求的好信道用于传输信息比特,坏信道用于传输冻结比特。先用BEC构造获取冻结比特位置,在此基础上传输0比特,其他位置传信息比特。输入SC译码算法为信道转移概率,译码算法属于串行译码算法。当前获得译码判决比特,用于下一比特的译码比特的判决。
    2022-01-26 00:13:58下载
    积分:1
  • 隐马尔可夫模型,训练阶段数据必须给予模型。
    hmm model, training phase data has to be given to the model .-hmm model, training phase data has to be given to the model .
    2022-02-06 05:00:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载