登录
首页 » matlab » youhua1

youhua1

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

  • cyclecode
    用matlab写的的循环码编解码程序,同时还有系统仿真的性能分析(Matlab write the loop encoding and decoding procedures, as well as system simulation and performance analysis)
    2012-04-22 15:50:45下载
    积分:1
  • harkinnn
    matlab神经网络代码,由大名鼎鼎的西蒙.哈克编写(Matlab neural network code from the infamous Simon. Hack prepared)
    2007-02-05 11:12:20下载
    积分:1
  • Jacobi
    计算矩阵的解,是一种雅克比迭代,应用此程序可以很快的计算矩阵的解。(Computing solution matrix is a Jacobi iteration, the application of this procedure can quickly calculate the matrix solution.)
    2013-11-26 09:54:39下载
    积分:1
  • RoutingCN_PferentialProb
    complex network routing based on the preferential probability as the scale-free features
    2009-11-09 19:16:26下载
    积分:1
  • LV10
    概率与计算课程中的一个作业,防止一个Las Vegas算法输出“?”并统计其期望的运行时间,有实验报告、源码(Modify the algorithm LV10 that the output “?” does not occur. Then, analyse the expected run times of your Las Vegas protocol with forbidden “?”. )
    2010-01-18 10:17:19下载
    积分:1
  • EJERCICIOS_FILTROS_DSP
    Diseñ o de un filtros en matlab
    2011-09-24 06:23:09下载
    积分:1
  • PolCalQuegan
    极化SAR定标处理matlab程序,采用Quegan算法(Polarization SAR processing matlab calibration procedures, the use of Quegan algorithm)
    2010-11-01 13:03:32下载
    积分:1
  • m_function
    产生了PN序列,并通过仿真检测了他的自相关特性。(generate the PN sequency an simulate the auto-correlation property.)
    2009-10-29 10:52:29下载
    积分:1
  • Zero-Crossing
    Implementation on "Automatic modulation classification using zero crossing"
    2013-08-30 13:07:38下载
    积分:1
  • 小波包分解
    说明:  小波包分解程序以及小波熵等程序,可以参考学习(Wavelet packet decomposition procedures and wavelet entropy procedures, can refer to learning)
    2021-03-06 22:46:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载