登录
首页 » matlab » youhua1

youhua1

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

  • juanji
    matab实现卷积编译码,包括典型的(7,15)卷积码,通过画图体现误码率和信噪比的关系(matab achieve convolution encoding and decoding, including typical (7, 15) convolutional code, by drawing reflects the relationship between BER and SNR)
    2011-06-16 15:58:28下载
    积分:1
  • Sumapotencias
    Sirve para calcular la intensidad de campo con el metodo de suma de potencias.
    2009-10-26 17:58:49下载
    积分:1
  • dj_toolbox_1
    利用Matlab产生各种回声、击掌等特殊效果的音频程序。(Matlab, generate a variety of echo, clap audio programs and other special effects.)
    2010-05-20 22:18:02下载
    积分:1
  • phase_optical_flow
    The code is an implementation of the phase-based optical flow algorithm described in Gautama, T. and Van Hulle, M.M. (2002)(The code is an implementation of the phase- based optical flow algorithm described in Gaut Na'ama, and T. Van Hulle, M.M. (2002))
    2006-11-22 16:07:42下载
    积分:1
  • qiantuihuidaifa
    配电网中,传统IEEE39节点,前推回代潮流计算。(Distribution power flow calculation。)
    2014-10-09 22:03:36下载
    积分:1
  • mas_mli
    simulation sous simulink, de la machine asynchrone triphasée avec commande MLI, onduleur triphase et vecteurs complexes de la MAS
    2010-12-10 00:44:50下载
    积分:1
  • Synthetic2DFault
    说明:  利用傅立叶反变换自动生成随机分形面,可生成各向同性或各向异性的。(Generating the 2D fractal surfaces using inverse DFT method)
    2010-05-03 17:54:32下载
    积分:1
  • sc-fdma-dasar
    untuk sc-fdma dasar gan
    2013-01-13 14:42:43下载
    积分:1
  • xlzkd
    用于分析线列阵宽带,可以修改参数,自己编写,仅供参考(For the analysis of line array broadband, you can modify the parameters, write your own, for reference only)
    2013-03-15 15:54:01下载
    积分:1
  • 空时自适应处理程序 STAP
    空时自适应处理程序 空时自适应处理的MATLAB仿真程序 (STAP process)
    2020-12-24 14:39:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载