登录
首页 » matlab » youhua1

youhua1

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

  • annMatlab7p4
    说明:  神经网络与matlab7的实现 配套资料下载 .m格式(neural network and the realization matlab7 supporting information downloaded. M format)
    2006-04-15 00:51:23下载
    积分:1
  • hhspectrum
    希尔伯特变换的matlab演示程序,可以用来仿真希尔伯特变换,方便广大初学者下载运行(Hilbert transformation of matlab demo application that can be used for simulation Hilbert transformation, convenient the beginners download runs )
    2012-04-19 21:46:02下载
    积分:1
  • rootcos
    用matlab实现升余弦滤波器的设计,其中滚降系数可以根据自己需要自动调节(Using matlab to achieve raised cosine filter design, roll-off factor which can automatically adjust according to their needs)
    2021-03-26 15:39:13下载
    积分:1
  • 5-files
    It contains 4 matlab codes for ZF,MMSE,ML equalizer for MIMO systems and 1 document based on linear detector for MIMO system
    2013-03-22 00:07:13下载
    积分:1
  • PCA
    模式识别。PCA实例,经调试可用,希望能帮到需要的人。(Pattern Recognition. PCA instance, debugging is available, I hope to help people in need.)
    2013-05-26 12:03:25下载
    积分:1
  • noiseFM
    产生噪声调频干扰信号,并画出它的时域和功率谱(Noise FM jamming signal)
    2021-04-09 13:18:59下载
    积分:1
  • sampleEntropy1
    样本熵程序,本人对其进行了改进,进行了加速。效果不错(the fast of sample Entropy.)
    2020-09-04 11:08:06下载
    积分:1
  • mexcdf-R2008a.r2691
    netcdf toolbox for matlab r2008
    2009-09-23 10:43:11下载
    积分:1
  • ViterbiDecoderr
    viterbi译码算法的matlab源代码(viterbi decoding algorithm matlab source code)
    2009-03-06 21:28:34下载
    积分:1
  • CR_simulink
    认知无线电能量检测simulink模型,对新手会有一些帮助(Simulink model of cognitive radio energy detection, there will be some help for novice)
    2010-12-24 10:16:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载