登录
首页 » matlab » youhua1

youhua1

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

  • transcritical
    通过此程序希望使大家对基本的分岔过程有一个感性的认识()
    2008-04-12 14:13:36下载
    积分:1
  • Interface-design-articles
    matlab 编程应用100例中的界面设计篇(Interface design articles)
    2011-05-19 18:49:42下载
    积分:1
  • antena1
    阵列信号处理中有关天线阵列处理的基本程序。%%ARRAY ANTENNA SOFTWARE(signal processing array antenna array processing on the basic procedures. %% ARRAY ANTENNA SOFTWARE)
    2007-04-05 21:06:51下载
    积分:1
  • addison-wesley-windows-system-programming-4ed-mts
    a good book about windows system programming
    2014-09-20 19:07:00下载
    积分:1
  • tuoye
    托业资料,一些托业必备的短语大全,在里面的文章中有标注(TOEIC data, a number of essential phrases TOEIC Daquan, in which there are marked article)
    2010-01-31 23:06:47下载
    积分:1
  • 51622429calibr8
    说明:  摄像机标定的源代码,希望对大家都帮助,加油(camera ,fight up jiayou)
    2010-05-01 20:55:35下载
    积分:1
  • 非常实用的小波包分解序 WPC
    非常实用的小波包分解程序,以及实现对小波包分解频带求取频谱和能量谱(Very useful wavelet packet decomposition process, and the realization of the wavelet packet decomposition to obtain the spectrum and the energy spectrum band)
    2020-06-28 11:20:02下载
    积分:1
  • color_for_particle_filter
    color feature extraction for target tracking and particle filter
    2015-01-26 00:54:42下载
    积分:1
  • picture
    说明:  该代码实现了车牌的定位,利用matlab实现,效果很少而且鲁棒性也很好(The code to achieve the positioning of the plate, using matlab to achieve results and very few good robustness)
    2009-07-26 12:49:47下载
    积分:1
  • MyGUI
    这是用MATlab进行用户界面设计的程程序这是界面的功能是:对连续时间函数w(t)=exp(-abs(t))在【-5,5】区间内进行采样,利用样条插值重构该连续函数,绘出重构图形并输出重构误差。(It is used MATlab process of user interface design process which is the interface functions are: a continuous time function w (t) = exp (-abs (t)) in the range】 【-5,5 samples, using spline Reconstruction of the continuous interpolation function, draw the reconstruction graphics and output reconstruction error.)
    2009-10-27 11:38:54下载
    积分:1
  • 696518资源总数
  • 105096会员总数
  • 12今日下载