登录
首页 » matlab » youhua1

youhua1

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

  • psooptimization
    通过本书可对pso有个全面深入地了解,为工程应用作准备(Through this book on PSO has a comprehensive and in-depth understanding for the engineering applications to prepare)
    2007-07-16 19:00:47下载
    积分:1
  • golden
    欢迎下载,MATLAB求函数极小值的程序(Welcome to download, MATLAB function for the minimum procedures)
    2008-01-10 14:25:40下载
    积分:1
  • Beziersurfaces
    三次TC-Bezier曲线的拼接以及双三次TC-Bezier曲面拼接。(Three TC-Bezier Curves and Bicubic TC-Bezier Surfaces.)
    2020-09-03 18:48:07下载
    积分:1
  • importfile
    script that converts file to binary stream and convolutes it
    2011-02-10 09:32:43下载
    积分:1
  • BLDC_SMVSC
    无刷直流电动机的滑模变结构控制程序-采用变速PVC策略 (brushless DC motor SMVSC control procedures-using variable speed PVC strategy)
    2007-03-23 23:59:53下载
    积分:1
  • WDM-filter-transceivers
    我们设计和实验证明 布拉格光栅波分复用器 三波长的平面光波电路复用 公交车站台。1310和1550 nm的光,被设计成 由一个半周期通过定向耦合器分离后 和一个完整的周期耦合作用与0.07和0.19分贝的损失, 分别。1492 nm的光反射回来的布拉格 光栅对定向耦合器及其制作少损失 超过2分贝。我们也介绍和讨论新概念 集成光学三工收发器,使用此过滤器。 (We designed and experimentally demonstrated a Bragg grating-assisted wavelength-division-multiplexing filter for the three-wavelength multiplexing on a planar-lightwave-circuit platform. The 1310- and 1550-nm lights were designed to be separated after passing the directional coupler by a half-cycle and a full-cycle coupling actions with losses of 0.07 and 0.19 dB, respectively. The 1492-nm light was reflected back by a Bragg grating fabricated on the directional coupler and its loss was less than 2.0 dB. We also introduced and discussed the new concept of an integrated optical triplexer transceiver using this filter.)
    2013-09-27 10:40:02下载
    积分:1
  • sapso
    模拟退火粒子群算法代码 matlab版本 供大家参考(Simulated annealing particle swarm algorithm code)
    2012-11-12 21:43:43下载
    积分:1
  • yasuo
    MATLAB实现JPEG图像压缩,进过实现,可以运行(MATLAB realization of JPEG image compression, been to achieve, you can run)
    2011-05-29 08:58:59下载
    积分:1
  • CDMAMODEM
    移动通信码分多址技术(cdma)在matlab中的仿真(同步、直扩)(CDMA mobile communication technology (cdma) in the matlab simulation (synchronous, DS))
    2011-06-02 16:11:29下载
    积分:1
  • pcafunc
    file to estimate carbon flow
    2011-06-27 04:04:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载