-
beihanguniversityhomework2
北京航空航天大学数值分析大作业第二题,有难度,这可是历年北航研究生转载最多的代码了(Beijing University of Aeronautics and Astronautics numerical analysis of large operating the second question, there is difficulty, this is the most over the years Beihang University Graduate reproduced the code)
- 2010-06-18 19:21:45下载
- 积分:1
-
PSO
针对传统的算法如遗传算法、粒子群算法等在TSP问题上求解精确性和求解规模上都还有一定的不足,本文提出了一种基于动态规划思想的粒子群优化算法。该算法用动态规划的方法实现粒子间的信息交互和粒子的进化,并且将粒子群中的粒子按无标度信息指导网络拓扑图的方式进行连接。仿真结果表明该方法能有效地减小误差率,提高解的精确,同时还保持了较低的计算复杂度,具有良好的稳健性。(TSP problem solving for the traditional algorithms such as genetic algorithms, particle swarm optimization accuracy and solving the scale, there is a certain lack of a dynamic programming algorithm-based particle swarm optimization algorithm. The algorithm using dynamic programming method to achieve the evolution of information exchange between the particles and the particles, and particle swarm particle scale-free information guide network topology map to connect. The simulation results show that this method can effectively reduce the error rate and improve the solution precision, while maintaining a low computational complexity, good soundness.)
- 2013-01-07 18:05:35下载
- 积分:1
-
SVD
% 奇异值分解 (sigular value decomposition,SVD) 是另一种正交矩阵分解法;SVD是最可靠的分解法,
% 但是它比QR 分解法要花上近十倍的计算时间。[U,S,V]=svd(A),其中U和V代表二个相互正交矩阵,
% 而S代表一对角矩阵。 和QR分解法相同者, 原矩阵A不必为正方矩阵。
% 使用SVD分解法的用途是解最小平方误差法和数据压缩。用svd分解法解线性方程组,在Quke2中就用这个来计算图形信息,性能相当的好。在计算线性方程组时,一些不能分解的矩阵或者严重病态矩阵的线性方程都能很好的得到解( Singular value decomposition (sigular value decomposition, SVD) is another orthogonal matrix decomposition method SVD decomposition is the most reliable method, but it takes more than QR decomposition near ten times the computing time. [U, S, V] = svd (A), in which U and V on behalf of two mutually orthogonal matrix, and the S on behalf of a diagonal matrix. And QR decomposition are the same, the original matrix A is no need for the square matrix. The use of SVD decomposition method are used as a solution of least squares error method and data compression. Using SVD decomposition solution of linear equations, in Quke2 on to use this information to calculate the graphics performance quite good. In the calculation of linear equations, some indecomposable matrix or serious pathological matrix of linear equations can be a very good solution)
- 2020-12-21 10:29:08下载
- 积分:1
-
KMEANS
This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real)
To compile:
ICC KMEANS.CPP <enter>
(This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real)
To compile:
ICC KMEANS.CPP <enter>
)
- 2013-01-05 23:11:23下载
- 积分:1
-
sidianchafen
使用五点差分格式计算一个微分方程在边值问题上的解(The use of a five-point difference scheme for the calculation of a differential equation in the solution of boundary value problems)
- 2008-06-09 22:48:58下载
- 积分:1
-
acoustic
交错网格声波方程交错网格有限差分地震波场计算波场正演模拟。
(The CalCulation of the SeismiC Wave一 fieldwith
Staggered-grid Finite difference Sheme
)
- 2010-09-19 15:53:45下载
- 积分:1
-
main
Concert c++ example of facility location problem. C++ concert technology is a registered trademark of ILOG CPLEX
- 2009-03-05 08:56:13下载
- 积分:1
-
valve
说明: 一个在fluent udf中使用Compute_Force_and_Moment函数计算力的算例(An Example of Compute_Force_and_Moment Function in Fluent UDF)
- 2020-06-19 14:14:38下载
- 积分:1
-
FDTD_microstrip
分享一个外国人编写的FDTD程序,可以用来计算微带线和微带贴片天线,程序中采用的是均匀网格划分,但也可以在容易地在它基础上改写成非均匀网格.其边界条件与Sheen的程序不同,这里采用二阶技术.(Prepared to share a foreigner FDTD procedures, can be used to calculate the microstrip lines and microstrip patch antenna, the procedure used is uniform mesh, but can also easily rewrite it into the basis of non-uniform grid. its boundary conditions with different processes and Sheen, where second-order technology.)
- 2020-12-07 16:39:22下载
- 积分:1
-
PID自动控制电机转速
说明: 利用pid算法控制电机转速,转速可调,数码管显示,初学者实用(Using PID algorithm to control motor speed, adjustable speed, digital display, beginners practical)
- 2020-06-22 16:00:01下载
- 积分:1