搜索资源列表
curvefit_C_edition
- c语言版的多项式曲线拟合。 用最小二乘法进行曲线拟合. 用p-1 次多项式进行拟合,p<= 10 x,y 的第0个域x[0],y[0],没有用,有效数据从x[1],y[1] 开始 nNodeNum,有效数据节点的个数。 b,为输出的多项式系数,b[i] 为b[i-1]次项。b[0],没有用。 b,有10个元素ok。-c language version of the polynomial curve fitting. Using least-squares met
曲线拟合
- (1)利用多项式拟合的两个模块程序求解下题: 给出 x、y的观测值列表如下: x 0 1 2 3 4 5 y 2.08 7.68 13.8 27.1 40.8 61.2 试利用二次多项式y=a0+a1x+a2x2进行曲线拟合。 (1)多项式拟合方法:假设我们收集到两个相关变量x、y的n对观测值列表: x x0 x1 x2 x3 x4 x5 y y0 y1 y2 y3 y4 y5 我
向量旋转及一维线性回归、相关系数
- 向量按照给定角度旋转后新坐标、计算x--y数据线性拟合系数及相关系数。
polyfit2d.rar
- 根据已知的三维离散数据(x,y,z),在MATLAB中利用此函数进行三维曲面拟合,再根据polyval2d得出拟合函数的系数矩阵。,according to 3D discrete datum (x,y,z),use this function in MATLAB to fit 3D surface, and use polyval2d to get coefficient matrix
FitPlane
- 采用最小二乘的方法,根据平面的坐标方程,拟合出空间平面的方程的各个系数,如有疑问请上: buaagc.blog.163.com-Using least squares method, according to the coordinates of plane equation, fitting two-dimensional space of all coefficient equation, If you have any questions, go to buaagc.blog.163.
CubicSpline
- 根据给定点和区间值得出三次样条拟合方程的系数-According to a given point and interval should be a cubic spline fitting coefficient
Project1
- 用VB编写的多项式拟合程序 Public Function funPolynomial(Num As Long, x() As Single, y() As Single, Degree As Integer, AA() As Single) As Long 多项式曲线拟合 y=a0+a1*x+a2*x^2+an*x^n Num为输入数据点个数 x()为输入数据点横坐标组成的数组 y()为输入数据点纵坐标组成的数组 Degree为要拟合的多项式曲线次数 A
PSO_my_model
- PSO算法,比较好用的拟合方程系数的程序。-PSO
test6
- matlab实验 用给定的多项式,y=x3-6x2+5x-3,产生一组数据(xi,yi,i=1,2,…,n),再在yi上添加随机干扰(可用rand产生(0,1)均匀分布随机数,或用rands产生N(0,1)分布随机数),然后用xi和添加了随机干扰的yi作的3次多项式拟合,与原系数比较。 如果作2或4次多项式拟合,结果如何? -matlab experiment with a given polynomial, y = x3-6x2+5 x-3, generated a set of da
eigen
- 此程序为用matlab编写的基于最小二乘法通过求解广义矩阵特征值及特征向量进行椭圆曲线拟合程序。 程序中x,y分别为采样点的横纵坐标。生成的结果矩阵为椭圆曲线aX^2+bXY+cY^2+dX+eY+f=0中的各项系数。-This program was written with matlab by solving the generalized least square method based on matrix values and eigen vectors of the ellipt
gui_polyfit_nihe
- 数据拟合在matlab环境下的gui中进行设计,显示拟合系数和拟合图像。-Data fitting in the gui in matlab environment design, display fitting coefficients and fitting the image.
quxiannihe
- 最小二乘曲线拟合 可以拟合曲线 得到所拟合的系数 GUI界面-least-square Curve fitting
polyorder
- 最小二乘拟合,求多项式系数,包括建立误差方程、误差方程法化,迭代求解-Least squares fitting of a polynomial coefficient, including the establishment of error equation, the error equation, iterative solving
nihe
- 最小二乘法拟合进行n次多项式拟合,N用来控制拟合的次数,例如N=5时进行4次多项式拟合,还回的是拟合系数-Least squares fit polynomial n times, N is used to fit the number of control, e.g., N = 5 When quartic polynomial fitting, further back are fitting coefficients
LinearRegression
- 曲线线性回归试验,导入x、y数据后输出直线系数和常数(Linear regression test of blood pressure curve)
MATLAB实现线性拟合和相关系数 源程序代码
- Matlab源程序:可以实现线性拟合相关系数(Matlab source: linear correlation coefficient can be achieved)
POLYFIT
- 用k次多项式拟合向量数据(x,y)并返回多项式的降幂系数。(The vector data (x, y) are fitted by k-degree polynomials and the power factor of the polynomial is returned.)
最小二乘法拟合
- %最小二乘法下用a*sin(x)+b*cos(x)拟合下列散点坐标 %求出拟合系数a,b和方差Dx(The least square method is used to fit the following scatter coordinates with a*sin (x) +b*cos (x) The fitting coefficients a, B and variance Dx were calculated)
polynomial model
- 使用多项式拟合非线性曲线,对多项式系数进行参数辨识(The polynomial coefficients are identified by using polynomial fitting nonlinear curves.)
zernike
- 计算泽尼克多项式和具有一致相合函数的泽尼克拟合系数(Zernike polynomials are orthogonal on the unit circle and are commonly used in optics for phase aberrations. Use zernike_fcn3.m to generate Zernike polynomials. Input includes a vector of the desired polynomials; these do n