登录
首页 » matlab » youhua1

youhua1

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

  • 参数辨识
    此代码利用高斯牛顿迭代法,对非线性函数进行参数辨识。可以对传递函数通过阶跃响应实验得到的数据进行迭代获得传递函数的参数(The code uses the Gauss-Newton iteration method to identify the parameters of the non-linear function. The parameters of the transfer function can be obtained by iterating the data obtained from the step response experiment of the transfer function.)
    2020-06-20 18:40:02下载
    积分:1
  • wu
    说明:  雾天图像处理 图像在雾天里 细节部分 看不清楚 该程序能恢复因雾天的影响造成的细节部分不清楚(image processing if the picture was influenced in the fog .this programm can deal the influenced picture in a high speed .it was developed in matlab image processing if the picture was influenced in the fog .image processing if the picture was influenced in the fog .image processing if the picture was influenced in the fog .)
    2010-12-18 15:19:47下载
    积分:1
  • stc_qpsk
    基于QPSK调制方式配合MIMO通信原理进行的STC编发的matlab仿真(Based on QPSK modulation with MIMO communication principle of STC braided matlab simulation)
    2013-08-15 14:33:42下载
    积分:1
  • HVDCp_mian12
    高压直流输电~经过本人测试可用~有需要的可以下载~(HVDC tests available ~ ~ After I need to download ~)
    2011-11-16 20:59:48下载
    积分:1
  • range_zoudong
    关于距离走动和距离走动校正的仿真程序,思路清晰,很有条理,赶紧下载吧。(About distance walking distance around and calibration of the simulation program ideas clearly, very organized, hurriedly download it )
    2021-04-27 09:38:44下载
    积分:1
  • master_matlab
    说明:  这本书是有关精通MATLAB的介绍,有相关例子,值得学习(This book is well versed on the introduction of MATLAB, has relevant examples, it is worth studying)
    2008-08-27 11:58:33下载
    积分:1
  • sjjsq
    时间计算器:分别输入开始日期和结束日期,能计算两个日期相差几天。(Time Calculator: Enter the start and end dates, it can calculate how many days they are difference.)
    2012-03-29 16:06:43下载
    积分:1
  • power-system-simulation-lab
    power system simulation lab
    2012-11-02 02:40:57下载
    积分:1
  • pic
    对图片做二维dct变换,每一小块为8*8(Do the 2-D DCT transform , every piece of 8*8)
    2015-03-17 20:33:26下载
    积分:1
  • matlab-(4)
    一个指纹识别的MATLAB程序!!!推荐~(a fingerprint identification MATLAB! ! ! Suggest ~ )
    2014-03-19 15:37:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载