-
随机游走
随机游走生成器:此代码模拟了一个随机游走过程请注意,"%" 任何指示的权利它是为人类阅读和 MATLAB 忽略注释。
- 2022-03-22 04:07:52下载
- 积分:1
-
运用粒子群计算函数的极值
应用背景
求最大值与求最小值两者转换时的修改处:
BaseStepPso:代码83行和91行
InitSwarm: 代码44行
PsoProcess: 代码
69行
关键技术
调用格式:
Scope=[ ];
[xm,on,off,fv]=PsoProcess(N,D,Scope,@InitSwarm,@BaseStepPso,@fitness,IsStep,0,M,IsPlot);
Xm:目标函数取最大值时的自变量
Fv:目标函数的最大值
on:在线性能的数据
off:离线性能的数据
N:粒子数目(一般取20-40。对于大部分的问题10个粒子已经足够可以取得好的结果,
不过对于比较难的问题或者特定类别的问
- 2022-12-27 12:25:05下载
- 积分:1
-
Hangzhou interpolation and demonstration Runge phenomenon code
lagrange插值以及演示runge现象的代码-Hangzhou interpolation and demonstration Runge phenomenon code
- 2022-09-24 08:40:02下载
- 积分:1
-
程序只产生均值为0,方差为1的随机数,要产生均值为E,方差为D的随机数,只要随机数*D+E就可以了。高斯随机数程序还是带参数的,参数是用来描述正态分布的一个浮点...
程序只产生均值为0,方差为1的随机数,要产生均值为E,方差为D的随机数,只要随机数*D+E就可以了。高斯随机数程序还是带参数的,参数是用来描述正态分布的一个浮点数表。在执行程序时,先生成这个表(只做一次),而后就可以任意多次地执行高斯随机数产生程序了。使用C是为了保证通用性,如果有人觉得麻烦,可以用C++做个类,把这些东西都封装进去。另外,如果有人有兴趣,也可以把它修改成任意形式分布的连续随机数产生程序,修改非常简单,这里就不提示了。-procedures have only mean of 0 and variance for a random number to produce the mean E, D variance for the random number, as long as a few random E* D on it. Gaussian random process parameters or with the parameter is used to describe a normal distribution of the float table. In the implementation process, Mr. into the table (one-off), and you can repeatedly arbitrary implementation Gaussian random number generator proceedings. The use of C is to ensure commonality, if someone finds trouble, can be used to be a Class C, all these things into account Packaging. Also, if someone is interested, can you change the form of arbitrary distribution of continuous random number generator procedure is very simple changes, I will not be sacrificed as a result.
- 2023-08-17 15:20:03下载
- 积分:1
-
Gauss column principle eliminate for bankdialog systems
Gauss column principle eliminate for bankdialog systems
- 2022-04-30 16:38:20下载
- 积分:1
-
打牌游戏
打牌游戏:牌只有1到9,手里拿着已经排好序的牌a,对方出牌b,用程序判断手中牌是否能够压过对方出牌。
- 2022-09-27 20:55:03下载
- 积分:1
-
贝叶斯分类算法 matlab
对于UCI数据集 IRIS 用贝叶斯分类算法分类
- 2022-06-03 18:32:59下载
- 积分:1
-
分水岭方法
使用分水岭方法常常遇到过分分割的情况,使用膨胀腐蚀能够有效改善这种现象。
- 2022-08-20 19:30:05下载
- 积分:1
-
与国际标准COMTRADE数据格式转换的顺应性,COM…
对于符合国际标准COMTRADE格式的数据进行转换处理,COMTRADE是电力系统自动化常用的数据格式。-for compliance with international standards COMTRADE data format conversion, COMTRADE power system automation is commonly used data formats.
- 2022-05-06 05:12:27下载
- 积分:1
-
在vc中调用matlib得时候,需要一些引擎文件,在这里已经全部包含。...
在vc中调用matlib得时候,需要一些引擎文件,在这里已经全部包含。-in vc call matlib in time and need some engines, has been here all included.
- 2022-05-29 01:12:13下载
- 积分:1