登录
首页 » matlab » youhua1

youhua1

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

  • RectangleDetection
    基于hough算子的矩形检测,可用于车牌识别,pcb检测等等。(rectangle detection based on hough function.the techniques presented here interest for a number of applications such as building detection, pcb detection and so on)
    2009-05-23 18:00:33下载
    积分:1
  • embedVideo2Video
    embedding one video into a another Main video, with many
    2014-09-05 13:14:03下载
    积分:1
  • PID
    wood_berry蒸馏塔的PID控制,使用matlab编程实现。(wood_berry distillation column PID control, the use of matlab programming.)
    2013-08-20 08:55:29下载
    积分:1
  • inverter-SMC
    这是一个单相并网逆变器滑模变结构控制,采用滑模变结构控制方法对其进行稳定性控制,并实现有源阻尼控制。(This is a single-phase grid-connected inverter sliding mode variable structure control, using sliding mode variable structure control method to its stability control, and to achieve active damping control.)
    2017-05-05 09:23:58下载
    积分:1
  • SER_compare
    ser的比较实现基于mmse_mse和LS_mse (SER compare)
    2009-09-19 11:04:36下载
    积分:1
  • BerrouGlavieux
    this program is a simulation Berrou_Glavieux interleaver
    2010-08-16 06:01:57下载
    积分:1
  • zishiyinglvbo
    matlab自适应滤波器实现。性能比较:估计值与真实值之差 (matlab adaptive filter implementation. Performance comparison: estimated value and the true value of the difference)
    2013-07-11 20:19:18下载
    积分:1
  • spherical-wave
    球面波仿真,三维彩色图像生成,体现球面波传播的特性(spherical wave movie)
    2015-06-12 18:07:35下载
    积分:1
  • matlabPyrTools
    matlab library to laplician pyramids
    2013-12-09 22:04:41下载
    积分:1
  • ktpm
    非线性光学晶体KTP的1064nm的OPO频率变化计算(OPO nonlinear optical crystal KTP frequency of 1064nm calculation)
    2016-11-24 10:09:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载