资 源 简 介
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------ 拟合多项式的阶数(已知条件)
// double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件)
// double *x--- 结点x轴数据(已知条件)
// double *y--- 结点y轴数据(已知条件)
// double *Yg-- 结点估计值,个数为m(过程变量)
// int m------ 结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2
-//=== === === === === ==== === === === === === === =// letter Description// function name : Correlation// Function functions : Calculation least squares polynomial fitting of the correlation coefficient// Use : int M------ polynomial fitting stage (known condition)//* b--- double fitting song The coefficient, Higher-order the order on grounds of low order (known condition)//* double-node x x axis data (known to be pieces)// double* y--- node y-axis data (known condition)//* double FSL-- Nodes estimates, Number m (process variables)// int m------ node number (known condition)// Note : polynomial order of a maximum of 10. polynomials in the