登录
首页 » matlab » youhua1

youhua1

于 2020-12-11 发布 文件大小:2KB
0 246
下载积分: 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 个回复

  • matlabeightqueensquestion
    该代码是用matalb实现的八皇后源代码,具体功能:可以用鼠标操作,共64个格子,用鼠标点击其中一个方块,其对角线和同一行列的格子都会变成红色,将为不可点击的状态,其中还有定时程序,显示出实现八皇后所用的时间,若实现了就会停止计时,若没有将会一直计时。可以实现重新开游戏功能和退出游戏功能。(The code is matalb Queen' s source code to achieve the eight specific functions: You can use the mouse, a total of 64 grid, right click on a box, the diagonal and the same ranks of the grid will become red, will not Click the state in which there are regular procedures to achieve 8 shows the time used by the Queen, if realized would stop the clock, if not will always be time. Can achieve re-open the game out of the game features and functionality.)
    2010-06-13 22:52:56下载
    积分:1
  • X_Steam_for_Matlab
    可以求解焓,熵,比容,IFC-97 可以求解焓,熵,比容,IFC-97 可以求解焓,熵,比容,IFC-97 可以求解焓,熵,比容,IFC-97(Can solve the enthalpy, entropy, specific volume, IFC-97)
    2010-07-28 19:54:45下载
    积分:1
  • upfc
    Unified power flow controller load flow model
    2013-07-29 21:03:21下载
    积分:1
  • tspwt
    自己根据其他例子改编的MATLAB的GA工具箱实现TSP的程序(According to other examples of his own adaptation of the GA Toolbox MATLAB realization of TSP procedures)
    2007-12-07 15:53:15下载
    积分:1
  • wodega
    说明:  一些变异的遗传算法的matlab的程序实现,一些源码,关于ga的工具箱的实现(Some genetic algorithms matlab program implementation, a number of source code,)
    2010-03-22 16:02:04下载
    积分:1
  • matlabfangzhensanweiwudiantoushichengxiang
    matlab仿真三维物点的透视投影成像 有程序的很好的(matlab simulation of three-dimensional object point perspective projection imaging are very good procedures)
    2009-06-24 16:34:24下载
    积分:1
  • FAMilTrack_v2
    matlab 实现的odfs跟踪算法,功能强大新颖(matlab method)
    2013-07-31 11:34:53下载
    积分:1
  • convex_optimization
    说明:  凸优化程序包,包含各种凸优化算法,可供方便调用.(Convex optimization package, contains a variety of convex optimization algorithm, for convenience call.)
    2020-10-19 11:07:25下载
    积分:1
  • ImageRetrival
    图像检索matlab程序,基于内容的图像检索,利用颜色直方图进行检索的.(Image retri matlab procedures, content-based image retri , retri using color histogram this program comes with steps to build an image .)
    2014-11-17 15:28:17下载
    积分:1
  • MemDC_Test
    MemDC防止屏幕闪烁的好方法,如不使用内存DC在画图,显示时会闪烁。(memdc redraw dc)
    2013-12-18 20:26:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载