-
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
-
Hw1
This is a matlab program that
computer the gradient image using 1st derivative of Gaussian
- 2010-11-23 02:23:30下载
- 积分:1
-
22
说明: 免疫算法详细编程,有中文介绍,很好的资源。。。(Immune algorithm detailed programming, a Chinese introduction, a good resource. . .)
- 2009-12-16 16:52:45下载
- 积分:1
-
matlab03-05
这三个小程序都是matlab的.m文件,分别实现用灰度变换的方法增强图像的对比度和直方图均匀化,模拟图像受高斯白噪声和椒盐噪声的影响。(The three procedures are Matlab. M documents, were used to achieve gray transform method to enhance the contrast of the image and histogram equalization. Simulation images by white Gaussian noise and the noise of Salt and Pepper.)
- 2007-04-23 19:22:13下载
- 积分:1
-
painting
Beginning a source photograph, this demo will create an image with a hand-painted appearance. It can do this in three distinct styles, Impressionist , Expressionist and Pointillist .
- 2014-11-11 18:42:54下载
- 积分:1
-
sor
sor迭代法,是数值分析中很重要的一种,源码为其在matlab中的实现。(sor iterative method, numerical analysis is a very important one in the matlab source code for its realization.)
- 2009-02-12 00:09:58下载
- 积分:1
-
PAM
脉冲幅度调制解调 实验操作 实验原理 实验注意事项(Pulse amplitude modulation and demodulation principle experiment experimental experimental operation precautions)
- 2014-01-06 10:18:56下载
- 积分:1
-
Root-MUSIC-algorithm-source.
MUSIC算法是基于天线阵列协方差矩阵的特征分解类DOA算法,这里给出的是求根MUSIC算法源程序。(MUSIC algorithm is based on the characteristics of the antenna array covariance matrix decomposition class DOA algorithm given here is Root MUSIC algorithm source.)
- 2014-01-06 15:38:38下载
- 积分:1
-
Duda-problemsolutions
模式分类 课后练习答案 佩斯大学整理版本,每章都有(包括 7 8 9 10章) 平均20多道题,跟网内那种一章选几道的完全不一样~~谁用谁知道pattern classification(Duda pattern classification on the answer machine after-school practice exercises finishing version Pace University (New) pattern classification)
- 2015-03-26 14:27:10下载
- 积分:1
-
maxsumrateIA
最大速率的迭代干扰对齐算法,是在原先干扰对齐算法的基础上进行改进(Maximum Sum rate Alternative Minimization)
- 2015-04-01 09:43:25下载
- 积分:1