登录
首页 » matlab » youhua1

youhua1

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

代码说明:

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

文件列表:

youhua1.m,4120,2013-05-10

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

发表评论

0 个回复

  • Expdf
    MATLAB的基础应用及粗糙集理论的基础知识(PDF)(The basis of MATLAB applications and rough set theory based on knowledge (PDF))
    2009-05-13 13:31:38下载
    积分:1
  • spread_spectrum
    BPSK调制解调直接序列扩频系统源代码(白噪声及瑞利衰落误码率比较)(BPSK receiver simulation using Spread Spectrum Techniques )
    2011-04-26 17:31:59下载
    积分:1
  • noise_subspace_fitting
    单电磁矢量传感器噪声子空间拟合算法-空间谱图(Single electromagnetic vector sensor noise subspace fitting algorithm- space spectra)
    2020-11-09 11:09:47下载
    积分:1
  • optim
    matlab优化工具箱,包括线性规划linprog.m,二次规划quadprog.m等(optim toolbox)
    2013-09-05 13:20:58下载
    积分:1
  • 06mce001
    This project describes identification of number plate from vedio.
    2009-02-19 17:37:08下载
    积分:1
  • m_map1.4
    M_MAP教你如何用MATLAB绘制海洋、大气类的图。可以使用各种投影,添加各种精度的岸线,绘制的图清晰美观。(M_MAP teach you how to use MATLAB mapping ocean, the atmosphere kind of map. Can use a variety of projection, the line to add a variety of precision, drawing a clear appearance of the map.)
    2009-05-13 13:17:18下载
    积分:1
  • tranter
    signals and systems matlab codes
    2013-09-20 09:34:36下载
    积分:1
  • fenshujieaq
    chen分数阶的吸引子仿真,很容易实现的,希望可以帮助你。一起学习混沌吧。(chen fractional attractor simulation, it is easy to achieve, I hope you can help. With learning chaos.)
    2013-04-11 18:28:58下载
    积分:1
  • 拉格朗日粒子追踪法的matlab序 ariane-2.2.8_04
    拉格朗日粒子追踪法的matlab程序,用于海洋中的水微团的追踪(tracking the path of paritle using lagrange method. it is using in the ocean)
    2021-05-14 02:30:02下载
    积分:1
  • dpsk_pe
    一个基于matlab的dpsk仿真,加入了高斯白噪声(Dpsk the matlab-based simulation, adding the Gaussian white noise)
    2009-05-15 07:49:03下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载