登录
首页 » matlab » youhua1

youhua1

于 2020-12-11 发布 文件大小:2KB
0 248
下载积分: 1 下载次数: 41

代码说明:

  遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴(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可以控制输出格式 待优化问题)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • visa_travelers_cheques_acceptance
    visa travellers cheques guidelines
    2010-11-05 06:50:39下载
    积分:1
  • Taylor
    说明:  Taylor算法,可以用于解非线性方程组(Taylor algorithm, can be used for solving the nonlinear equations)
    2010-04-09 10:58:38下载
    积分:1
  • chapter_8
    现代智能算法法程序代码,遗传法 贪婪法 模拟退火法 蚂蚁群法 回溯法(Modern intelligent algorithms law code, the genetic method simulated annealing greedy algorithm backtracking ant colony method)
    2011-08-18 20:10:02下载
    积分:1
  • Genetic-algorithms-matlab
    遗传算法matlab程序,对初学者很有帮助,框架较好。(The genetic algorithm matlab program, useful for beginners, good framework.)
    2012-11-06 23:26:27下载
    积分:1
  • main
    说明:  此代码用于matlab仿真中计算求解并联机器人工作空间(Compute the robot workspace)
    2020-06-24 15:00:02下载
    积分:1
  • image-print
    基于半色调技术的图像打印 半色调技术是一种基于点模式的灰度级图像打印方案(Based on the image of the halftone print halftone technology based mode grayscale image printing solutions)
    2013-04-01 09:26:30下载
    积分:1
  • gui
    这是一个关于图像自动分割的程序,效果不错哦 (This is an automatic segmentation procedure on the image, the effect is good, oh)
    2010-12-21 09:47:08下载
    积分:1
  • taijie
    台阶的磁异常正演绘图程序 可选择不同的角度(The forward step of the magnetic anomalies can choose a different perspective drawing program)
    2010-05-28 16:54:09下载
    积分:1
  • EMTM_Static
    电磁转矩电动机广泛应用于电液伺服阀。它们有助于扭矩转换成比例的控制电流。(The electromagnetic torque motors are widely used in electrohydraulic servovalves. They serve to convert the control current into a proportional torque. For more details about this issue, please refer to my book:)
    2010-05-31 16:40:49下载
    积分:1
  • guyoupinlvmax
    运用遗传算法进行编码,求解汽车发动机悬置系统的固有频率的最大值(The use of genetic algorithm coding, automotive engine mounting system to solve the natural frequency of the maximum)
    2011-09-01 10:10:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载