-
最小二乘法一般是用来拟合直线和一些线性数据的,就是用一条直线来尽可能的表达若干的点的趋势,当然直线穿过所有的点是最好的,但往往有误差存在,所以拟合出的直线要求误...
最小二乘法一般是用来拟合直线和一些线性数据的,就是用一条直线来尽可能的表达若干的点的趋势,当然直线穿过所有的点是最好的,但往往有误差存在,所以拟合出的直线要求误差最小.设这些点为(x1,y1),(x2,y2)....(xn,yn).拟合直线为y=kx+b.-Ordinary least squares method is used to fit a straight line and a number of linear data, that is, as far as possible with a straight line to the point of the expression of a number of trends, of course, a straight line through all the points is the best, but often there is a margin of error, Therefore, a straight line fitting the requirements of the smallest error. established for these points (x1, y1), (x2, y2 )....( xn, yn). fitting straight line y = kx+ b.
- 2022-08-05 10:47:25下载
- 积分:1
-
图像几何变换
应用背景主要运用在图像的几何变换方面,可以打开BMP格式的图像,对图像进行各种几何变换,如图像的平移,图像的垂直和水平镜像,图像的转置以及图像的缩放,旋转等。这些是进行图像预处理的关键步骤。关键技术采用MFC设计界面,运用C++编程实现图像的几何变换,打开一幅MFC图像,可以运用相应的按钮进行相应的几何变换,输出变换后的图像,界面简单,输出图像正确。
- 2022-11-06 22:55:03下载
- 积分:1
-
多种计算方法
本源码包括各种计算方法中的各种基本计算,包括行列式,矩阵,lu分解等。
- 2022-01-25 19:01:08下载
- 积分:1
-
贝叶斯分类
类是将一个未知样本分到几个预先已知类的过程。
在众多的分类模型中,应用最为广泛的两种分类模型是决策树模型(Decision Tree Model)和朴素贝叶斯模型(Naive Bayesian Model,NBC)。
- 2022-03-31 03:45:25下载
- 积分:1
-
Nurbs曲线曲面库源码
学习NURBS时写的NURBS曲线曲面的库-NurbsLib,用它就可以画NURBS曲线和曲面了。里面的源代码参照了The NURBS Book, 注意该程序只能编译出来库文件,NurbsCurve.lib和NurbsSurface.lib如果想画NURBS曲线和曲面还要自己建立OPENGL三维环境,根据节点矢量和权因子等调用该库绘制曲线和曲面。同时注意使用了matrix.h的头文件实现矩阵运算。
- 2022-02-13 18:59:02下载
- 积分:1
-
米勒拉宾算法的c语言代码
本代码是使用米勒拉宾算法对一个数是否为素数作出判断,综合运用了费马小定理,卡米尔歇数的性质,卡米尔歇数的考赛特判别法的数学方法,拉宾米勒素数测试算法是一个不完全准确的算法,当然,底数a数组取数越多,测试的准确率越高
- 2022-08-26 00:00:54下载
- 积分:1
-
一个简单的递归实现八皇后算法
一个简单的递归实现八皇后算法-a simple recursive algorithm to achieve eight Queen"s
- 2022-04-14 18:07:05下载
- 积分:1
-
用Access算24点
利用Access做用户界面,用Access VBA开发计算24点的程序,然后通过遍历输出所有可能结果。
小学数学老师会利用算24来锻炼小学生的心算能力,作为家长,如果孩子如果有一道题算不出来向您求救时,您却拿不出一个解决方案来,岂不丢面子? 好了,现在有了这个工具,您可以在1秒钟内给出多个答案,孩子会更崇拜您哦! :-)
- 2022-04-30 22:10:23下载
- 积分:1
-
Monte Carlo method known as random or statistical skills test method. More than...
蒙特卡罗方法又称随机抽样技巧或统计试验方法。半个多世纪以来,由于科学技术的发展和电子计算机的发明 ,这种方法作为一种独立的方法被提出来,并首先在核武器的试验与研制中得到了应用。蒙特卡罗方法是一种计算方法,但与一般数值计算方法有很大区别。它是以概率统计理论为基础的一种方法。由于蒙特卡罗方法能够比较逼真地描述事物的特点及物理实验过程,解决一些数值方法难以解决的问题,因而该方法的应用领域日趋广泛。
-Monte Carlo method known as random or statistical skills test method. More than half a century, the development of science and technology and the invention of the electronic computer, this method as an independent method was raised and the first nuclear test and research has been applied. The Monte Carlo method is a calculated, but with the general numerical method a great difference. It was based on the theory of probability and statistics-based approach. As the Monte Carlo method can vividly describe things and the physical characteristics of the experimental process, numerical methods to solve some difficult problems, the result of the increasingly extensive application areas.
- 2022-07-14 13:23:24下载
- 积分:1
-
A source code of function which convert image from RGB scale
A source code of function which convert image from RGB scale - space into normalized RGB scale - space, using Visual C++ 2008 and OpenCV library.
Normalized RGB scale - space can be used in color detection techniques, because this is independent of illuminance change.
- 2022-12-07 16:05:03下载
- 积分:1