登录
首页 » matlab » youhua1

youhua1

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

  • intrusion-detection-matlab
    intrusion detection algorithm in matlab
    2013-09-29 15:37:51下载
    积分:1
  • simulink
    simulink 使用教程 方便实用 ,详细介绍了控制模型 simulink 的仿真设计(simulink tutorial easy to use and practical, detailed simulation simulink control design model)
    2010-09-15 22:49:29下载
    积分:1
  • FSK
    是初学者运用matlab对FSK仿真的好实例,包括2FSK和4FSK(Is for beginners to use matlab on FSK simulation of a good example, including 2FSK and 4FSK)
    2012-04-03 22:32:23下载
    积分:1
  • mathlab-code
    在数字信号处理中使用的matlab的代码,非常实用(Used in digital signal processing matlab code, very useful)
    2013-12-10 13:04:54下载
    积分:1
  • color-image_ASQUR
    this is the first project which i was done before my conv asqur
    2012-02-13 12:00:39下载
    积分:1
  • PVmodel
    利用matlab搭建的光伏电池模型,仿真最大功率点跟踪 (Photovoltaic cells built using matlab model, simulation maximum power point tracking)
    2013-07-11 14:45:19下载
    积分:1
  • cum2est
    输入相关参数,便可求得函数的二阶累积量,使得复杂计算过程得到避免(Input parameters, the function of the second order cumulant can be obtained, making complicated calculation is avoided )
    2013-08-03 11:05:51下载
    积分:1
  • cosamp
    压缩感知CS的重构算法中的cosamp算法程序 用于实现信号的重构(cosamp for compressive sensing reconstruction )
    2010-12-01 16:50:14下载
    积分:1
  • glcqpsk
    QPSK调制的程序,可以正确运行,对初学者很有帮助(QPSK modulation procedure can correct operation, useful for beginners)
    2006-05-31 14:57:28下载
    积分:1
  • tt
    说明:  本程序为在外场实际测试雷达测高情况的程序,供大家学习。(The actual test procedure is outside the field of radar altimetry program for everyone to learn.)
    2011-08-14 21:20:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载