登录
首页 » matlab » youhua1

youhua1

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

  • julei
    matlab的fcm聚类源程序,希望对大家有帮助。谢谢(The fcm clustering matlab source code, want to help everyone. Thanks)
    2010-01-05 18:03:10下载
    积分:1
  • Desktop
    在故障诊断研究中,模式识别环节很重要,该程序是支持向量机模式识别的MATLAB程序。(In the study, fault diagnosis, pattern recognition is very important part of the program is to support vector machine pattern recognition MATLAB program.)
    2014-12-07 11:21:57下载
    积分:1
  • plot_hht
    稀尔波特黄变换可以对时间序列进行固有模态分解和hilbert变换,(Airport-Huang transform can dilute the time series of intrinsic mode decomposition and hilbert transform,)
    2010-12-09 11:11:30下载
    积分:1
  • trainlm
    采用两种训练方法,即 L-M 优化算法(trainlm)和贝叶斯正则化算法(trainbr)(Using two training methods, namely, LM optimization algorithm (trainlm) and Bayesian regularization algorithm (trainbr))
    2011-01-16 20:19:26下载
    积分:1
  • Image_Contrast_Enhancements
    this matlab code for Image contrast enhancements of grey and rgb images.
    2013-03-06 22:08:29下载
    积分:1
  • MATLAB
    MATLAB高效编程技巧与应用:25个案例分析(MATLAB efficient programming techniques and applications: 25 Case Studies)
    2013-11-11 16:59:09下载
    积分:1
  • Inter_code
    包含了Turbo码编译码中交织器解交织器的原创代码,以信息长度为8920为例(Includes Turbo Code Interleaver codec solution interleaver original code with information length of 8920 as an example)
    2009-12-29 16:53:48下载
    积分:1
  • LDPC.tar
    说明:  一个LDPC的例程使用matlab编写,可直接运行,信道编码程序(a LDPC the use of Matlab routines prepared to be directly run channel coding procedures)
    2005-11-20 12:20:02下载
    积分:1
  • Fast-fourier-Transform
    to find the discrete fourier transform using the fast fourier algorithm, any sequence of lengths which are multiples of 2 simply append zeros to satisfy this requirement
    2013-12-04 00:13:33下载
    积分:1
  • workDVB
    DVB-T系统,包含外编码,外交织,内编码,内交织,OFDM帧结构等等(DVB- T system, including the coding, interweave, the coding, the interweave, OFDM frame structure and so on)
    2020-12-23 21:49:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载