-
youhua1
遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴(function youhua1()
遗传算法
n-- 种群规模
ger-- 迭代次数
pc--- 交叉概率
pm-- 变异概率
v-- 初始种群(规模为n)
f-- 目标函数值
fit-- 适应度向量
vx-- 最优适应度值向量
vmfit-- 平均适应度值向量
clear all
close all
clc 清屏
tic 计时器开始计时
n=20 ger=100 pc=0.9 pm=0.1 初始化参数
生成初始种群
v=init_population(n,44) 得到初始种群,22串长,生成20*22的0-1矩阵
[N,L]=size(v) 得到初始规模行,列
disp(sprintf( Number of generations: d ,ger))
disp(sprintf( Population size: d ,N))
disp(sprintf( Crossover probability: .3f ,pc))
disp(sprintf( Mutation probability: .3f ,pm)) sprintf可以控制输出格式
待优化问题)
- 2020-12-11 20:19:19下载
- 积分:1
-
power
基于平移不变小波变换的电力时间序列预测,结合多层感知器(MLP)神经网络, 预测精度很好。(Electricity demand time-series forecasting program Based on shift-invariant wavelet transform features )
- 2013-04-23 16:13:50下载
- 积分:1
-
GuiStaticLib
Guilib的静态库源码,修改了一些编译错误,以及在不同windows上面存在的一些问题(The static library source code of Guilib. Modified some compilation error, and some bugs that exist in different windows version.)
- 2014-02-20 09:41:06下载
- 积分:1
-
SalarySystem
Salary system. Foxpro_vb6
- 2010-05-05 17:42:21下载
- 积分:1
-
surf_Video
surf算法对导入的图像在视频里做匹配,方框标记出来, 清晰易懂(use SURF detector to match object of interest )
- 2015-01-22 21:24:02下载
- 积分:1
-
sar
几种简单的SAR图像预处理方法,包括Lee滤波,Kuan滤波,Frost滤波(Several simple SAR image preprocessing methods, including Lee filter, Kuan filtering, Frost filter
)
- 2014-03-05 12:43:02下载
- 积分:1
-
dsp-music
通过matlab仿真说明从音频中提取背景音乐的方法,并通过dsp实现(Matlab simulation shows that by extracting from the audio background music of the method, and achieved through the dsp)
- 2010-06-10 10:14:06下载
- 积分:1
-
Jane-case-said-genetic-algorithm
通过一个简单的例子来讲解遗传算法,适合初学者学习领悟遗传算法的真谛。(Through a simple example to explain the genetic algorithm, genetic algorithm is suitable for beginners to learn comprehend the true meaning.)
- 2013-08-05 20:50:05下载
- 积分:1
-
qiangdudazuoye
北航强度大作业,包括两道题,代码、程序都是做好的,请放心使用(The Beihang intensity operations, including two title, code and procedures do a good job, ease of use)
- 2012-06-03 00:15:22下载
- 积分:1
-
LMSnew
实现对最小均方算法LMS的仿真,及其收敛性能的实现(Achieve the minimum mean square LMS algorithm simulation and performance to achieve convergence)
- 2013-11-29 10:41:20下载
- 积分:1