登录
首页 » matlab » youhua1

youhua1

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

  • LMSx
    自适应滤波器设计的方法用于信号处理的具体应用。可以实现信号的自适应处理(Adaptive filter design method for the specific application of signal processing. Can realize the adaptive signal processing)
    2008-04-30 23:39:23下载
    积分:1
  • main
    本程序实现2006年由Morelli提出的lear all(This program realization of 2006 by the proposed Morelli Lear all)
    2011-05-30 16:33:36下载
    积分:1
  • periodogramse
    Calculate the periodogram
    2010-11-02 03:35:06下载
    积分:1
  • Fir
    说明:  窗函数法的Fir数字滤波器设计 Matlab(Window function method of the Fir Digital Filter Design)
    2010-03-23 22:06:30下载
    积分:1
  • source_code_ldhccd
    成功实现计算RIpQbI算法的程序,本人测试已经通过,性能已基本达到RIpQbI算法的性能,需要MATLAB 2009b环境运行,如有问题,欢迎讨论 (The successful implementation of the program to calculate RIpQbI algorithm, I have passed the test, need MATLAB2009b operating environment, any questions, please contact me )
    2015-12-09 10:03:00下载
    积分:1
  • myypso
    one pso program, it is easy to use (one pso program, it is easy to use)
    2008-12-18 16:32:38下载
    积分:1
  • 111
    用db2、db4小波分解奇异点检测,其中用wnoise产生测试信号(use db2 and db4 detect strange point and wnoise was used to produce test signal)
    2014-10-21 22:52:15下载
    积分:1
  • QR-code-security
    采用数字水印技术实现在公开信息中加入秘密的隐私信息,从而实现隐私信息的隐藏保护。(The use of digital watermarking Technology to join the secret private information in public information in order to achieve the protection of privacy of information hiding.)
    2015-03-16 10:31:55下载
    积分:1
  • Modulation
    modulation techniques used in comminication
    2014-02-24 18:18:37下载
    积分:1
  • jiyin
    在MATLAB环境中检测语音基因周期的源代码(In the MATLAB environment, gene-cycle detection of speech source code)
    2009-10-30 12:20:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载