-
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合...
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------拟合多项式的项数(已知条件)
// double *b---拟合曲线的系数,按升次排列(已知条件)
// double *x---结点x轴数据(已知条件)
// double *y---结点y轴数据(已知条件)
// double *Yg--结点估计值,与*y相对应,个数为m(过程变量)
// int m------结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = b0 + b1*(x-Xavr)...
-//=== === === === === === === === === === === =====// Function that// function name: Correlation// Function: Calculation of the polynomial least squares fitting correlation coefficient// Usage: int M------ polynomial fitting the number of (known conditions)// double* b-- Fitting curve coefficient, or times by arrangement (known conditions)// double* x--- node x-axis data (known conditions)// double* y--- node y-axis data (already known conditions)// double* Yg- the estimated value of node, and* y correspond to the number for m (process variables)// int m------ node number (known conditions)// Note: polynomial order up to 10, the polynomial
- 2023-05-06 14:40:03下载
- 积分:1
-
FFT的快速算法。实测无误! 比普通的FFT快一个数量级
FFT的快速算法。实测无误! 比普通的FFT快一个数量级, 实际测试用的2048个点。在VC的环境下,编译通过,实测的效率很高。推荐使用!
- 2022-05-31 18:07:04下载
- 积分:1
-
哈弗漫算法程序,经供参考,有不对之处望大家多多指教~!
哈弗漫算法程序,经供参考,有不对之处望大家多多指教~!-Haversian diffuse algorithm procedures, as for reference, hope everyone has a lot of wrong advice ~!
- 2023-04-05 11:06:04下载
- 积分:1
-
打印条形码示例
资源描述
Code128
Code39
两种编码规则的条形码,数字变成条形码的转换方法。
// TODO: Add your control notification handler code here
CDC dc;
int CodeName,printQuality;
LPSTR partial=NULL,text;
CCode39 code39;
CCode128 code128;
UpdateData(TRUE);
text=m_CodeText.GetBuffer (50);
//获取编码方式
CodeName=m_CodeName.GetCurSel();
if(CodeName==CB_ERR)
{
MessageBox("请选择编码方式");
return;
}
switch(CodeName)
{
case 0:
CodeType=CODE39;
break;
case 1:
CodeType=CODE128A;
break;
case 2:
CodeType=CODE128B;
break;
case 3:
CodeType=CODE128C;
break;
}
//获取打印机设备环境
if(!(printDlg.DoModal()))
{
MessageBox("打印错误。");
return ;
}
- 2022-03-22 14:26:04下载
- 积分:1
-
由给出的三个点坐标,拟合出一条样条曲线,对于工程或数据分析的同志有作用。...
由给出的三个点坐标,拟合出一条样条曲线,对于工程或数据分析的同志有作用。-Three points by the given coordinates, fitting out of a spline curve, or data analysis for the project has the role of comrades.
- 2022-04-22 10:39:19下载
- 积分:1
-
线索化二叉树的源程序
线索化二叉树的源程序-clues to the source of Binary Tree
- 2022-02-14 18:04:51下载
- 积分:1
-
将C语言转换成汇编语言
将C语言转换成汇编语言-C language into assembler language
- 2022-03-07 03:18:38下载
- 积分:1
-
Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors fo...
用雅可比法求实对称阵的特征值与特征向量
例子中为3阶矩阵-Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors for the case of 3-order matrix
- 2022-03-11 23:53:46下载
- 积分:1
-
简单的循环链表算法
简单的循环链表算法-simple algorithm cycle Chain
- 2022-11-14 00:40:03下载
- 积分:1
-
Secant method with 2 points for non
Secant method with 2 points for non-linear equations in C
- 2022-03-30 20:49:45下载
- 积分:1