登录
首页 » matlab » youhua1

youhua1

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

  • NonlinearCircuit
    利用牛顿-拉夫森算法求解分段非线性电路系统的仿真程序。(Using Newton- Raphson algorithm for solving non-linear sub-circuit system simulation program.)
    2010-03-03 17:58:50下载
    积分:1
  • OFDM_mapping
    OFDM中的关于映射器的个人设计的MATLAB的算法,比较经典的 !(OFDM on the mapping of individual design MATLAB algorithm, more classic!)
    2006-05-25 15:04:28下载
    积分:1
  • quwu
    基于MATLAB开发平台的图像去雾程序代码,可运行,适合去雾算法的研究(Image to fog program code based on MATLAB development platform, can run, is suitable for the study to fog algorithm )
    2015-04-07 21:12:58下载
    积分:1
  • txrhdaima
    说明:  代码是基于Matlab的图像融合算法性能测试,可以对各种融合算法进行分析并且看出各种算法融合效果的优劣(Matlab code is based on performance tests of image fusion algorithms that can analyze a variety of fusion and fusion to see the pros and cons of various algorithms)
    2011-03-17 16:07:15下载
    积分:1
  • GUI-(Tutorial-Version)
    基于MATLAB的遥感图像融合,GUI界面,包括IHS,PCA,小波等等及他们的改进算法(MATLAB-based remote sensing image fusion, GUI interface, including IHS, PCA, wavelet, etc. and their improved algorithm)
    2015-11-07 16:40:24下载
    积分:1
  • a
    说明:  .编程实现编程统计BUF字节数据区中0的个数。下面已给出一种方法,请对所给程序验证后,自编出另外一种程序实现。(. Programming Programming Statistics BUF 0 bytes of data area number. The following has been given a method, validated on a given procedure, another procedure to achieve self out.)
    2010-12-08 10:08:21下载
    积分:1
  • Bisection
    An simple bisection algorithm for optimisation for an 1D function.
    2010-06-01 14:39:40下载
    积分:1
  • sparseAutoencoderCost
    斯坦福大学机器学习课程的一个源代码例子,对于机器学习和deep learning的学习研究很有帮助(this codes are from standford university,which are about machine learning and deep learning.they will be helpful in this research field)
    2013-10-16 21:04:32下载
    积分:1
  • 8.10
    用matlab求多项式的最大公约数函数,这个函数很简捷 (matlab)
    2009-03-08 06:26:21下载
    积分:1
  • shortest
    This code simulates Shortest Path Routing protocol that resides in network layer of a Network Architecture
    2011-02-01 21:39:24下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载