登录
首页 » matlab » youhua1

youhua1

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

  • fmm
    快速多级子算法,类似与FFT的加速! 快速多级子算法,类似与FFT的加速!多层快速多极子算法中的关键技术代码,希望对你们有用,不是很完整(fmm hopefast multipole method! Very fast and complex! fast multipole method! Very fast and complex!)
    2020-10-12 22:27:32下载
    积分:1
  • 基于输出跟随的模型参考自适应控制
    说明:  基于输出参考的模型自适应控制程序,基于输出参考的模型自适应程序(Direct Model Reference Adaptive Control Based on RBF Network)
    2020-11-22 15:29:37下载
    积分:1
  • swarm
    使用Scilab编写的粒子群算法,例子比较简单,无混沌搜索(Scilab prepared using particle swarm optimization, for example, relatively simple, non-chaotic search)
    2009-04-12 19:44:14下载
    积分:1
  • regiongrow
    说明:  二值图像区域生长,可以计算二值图像的区域增长的范围。(Binary image region growing, can calculate the binary image of the regional growth range.)
    2011-03-16 00:16:17下载
    积分:1
  • 密码登陆框正式版V2.2BY罗华飞
    matlab 学习例程 源代码 罗永飞版(Matlab Learning Routine Source Code Luo Yongfei Edition)
    2019-05-05 21:28:11下载
    积分:1
  • BendersDecomposition
    BENDERS分解算法,用来求解MIPS,即混合整数线性规划问题。我已经做了注释。(Benders decomposition of solving MIPS problem, which is mixed integer linear programming, I have done Notes)
    2021-04-25 15:58:46下载
    积分:1
  • continousuniformr
    continous uniform random variable
    2009-11-07 00:54:33下载
    积分:1
  • Least-square-filtering
    这个包中包含学习最小均方滤波的一个例子及其和其它滤波方法的一些比较。(This package contains the learning of least mean square with an example. And it compared least mean square method with other filtering methods.)
    2009-05-23 11:13:40下载
    积分:1
  • shengyinfansheshixian
    声音反射的实现,文档里附有运行的图样,即声音反射的波形(voice reflected the realization documentation is enclosed operation of the drawings, that is reflective of the voice waveform)
    2007-02-28 14:36:22下载
    积分:1
  • cudb
    MIT-BIH CUDB 详细心电信号,可用于分类VT/VF 与 NSR(MIT-BIH CUDB detailed ECG can be used to classify VT/VF and NSR)
    2014-10-30 10:25:15下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载