登录
首页 » matlab » youhua1

youhua1

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

  • power_syncmachine
    power_syncmachine.rar,功率电子领域matlab仿真文件,已经验证过,程序运行正常(power_syncmachine.rar, Power electronics field matlab simulation file, has already been verified, the normal operating procedures)
    2013-07-14 12:50:41下载
    积分:1
  • nihe
    matlab环境,引用多个实例介绍拟合。(matlab environment, citing multiple examples fitting.)
    2012-10-05 20:52:34下载
    积分:1
  • ed1
    energy detection in cr
    2011-12-13 00:10:35下载
    积分:1
  • 4dual-tree--wavelet-packet
    4各向异性双树复小波包变换 石霏 应用科学学报 2008-07-15 期刊(4 anisotropic dual tree complex wavelet packet transform Shi Fei applied science journal proceedings of the 2008-07-15)
    2013-12-25 17:23:51下载
    积分:1
  • install_guide
    install_guide.rar,matlab说明,初学者必看(install_guide.rar,matlab,help for new user)
    2019-06-02 14:36:41下载
    积分:1
  • SatellitePosition
    卫星定位算法,对卫星GPS多星定位的算法进行研究(MATLAB source localization Modeling feedback loop using MATLAB and Simulink)
    2010-06-11 18:48:53下载
    积分:1
  • coding
    This one is code for Random Forest algorithm,,,hav loaded face with FERET database,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2012-04-20 18:55:02下载
    积分:1
  • Shadow-removle
    THis code removes the object shadow
    2013-09-18 04:13:19下载
    积分:1
  • EST_Method_and_Programe
    matlab圆度误差的评定算法,最小二乘法,最小包容区域法,最大外接圆法,最小内接圆法(roundness error matlab assessment algorithm, the least square method, the minimum tolerance zone method, the largest circumcircle method, the smallest within the inscribed circle method)
    2009-05-20 20:56:29下载
    积分:1
  • 2-RAKE1
    merç u pour la téléchergement du fichie extra ordinaire
    2011-04-20 16:36:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载