登录
首页 » matlab » youhua1

youhua1

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

  • tracking1
    tracking1 is used to track a man in video
    2011-08-19 13:02:22下载
    积分:1
  • OFDMoncha
    OFDM系统中信道估计的ls,mmse算法性能比较程序(OFDM system channel estimation of the ls, mmse algorithm performance comparison procedures)
    2010-11-10 10:37:56下载
    积分:1
  • IEEE34
    pscad环境下搭建的一个IEEE34节点的,测试模型,可以用于电力系统潮流计算、状态估计等(pscad environment to build a IEEE34 node under test model can be used to power flow calculation, state estimation, etc.)
    2020-11-09 19:59:48下载
    积分:1
  • PID-controller
    先进PID控制matlab仿真,对PID的仿真有很大帮助,内含好多源代码(Advanced PID control matlab simulation , PID simulation , containing a lot of source code )
    2012-03-27 16:32:51下载
    积分:1
  • scatterfield
    scatterfield matlab code simulation...
    2011-05-14 00:06:41下载
    积分:1
  • Asymmetrical_Inverter_ThreePhase
    Hi this is matlab simulation
    2011-10-07 18:52:17下载
    积分:1
  • LS
    说明:  用matlab编写的最小二乘算法。用matlab编写的最小二乘算法。(Matlab least squares algorithm)
    2013-04-21 22:49:24下载
    积分:1
  • VMD
    vmd修改版,可用于实测信号分析,只需更改部分参数即可。(vmd modified version can be used for analysis of the measured signal)
    2021-04-12 22:18:56下载
    积分:1
  • pro-4
    this is matlab code for pprobality theory which is implemetatde in matab 7,6
    2011-05-21 13:01:42下载
    积分:1
  • ds413
    这个有中文注释,看得明白,采用的是通用的平面波展开法,主要是基于mtlab的程序。( The Chinese have a comment, understand it, Using common plane wave expansion method, Mainly based on the mtlab procedures.)
    2021-04-17 17:18:53下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载