登录
首页 » matlab » youhua1

youhua1

于 2020-12-11 发布 文件大小:2KB
0 238
下载积分: 1 下载次数: 44

代码说明:

  遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴(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可以控制输出格式 待优化问题)

文件列表:

youhua1.m,4120,2013-05-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab_WGN_funtion_for_Comunication_Theory
    Function that returns a row vector of WGN with same length as input signal.
    2009-11-30 08:58:24下载
    积分:1
  • switch_table
    船舶电力推进 直接转矩控制 开关表 仿真模型(ship dtc)
    2012-04-07 16:47:02下载
    积分:1
  • helicopter_simulation
    matlab simulink helicopter control
    2020-12-03 17:19:26下载
    积分:1
  • tongxinwangsuanfa
    爱尔兰B、爱尔兰C、D算法、F算法 仿真程序(ElangB、ElangC、D、F algorithm Simulation)
    2015-04-14 20:19:32下载
    积分:1
  • rrb-bankers
    Banker Algorithms Implemented in C/C++
    2013-12-30 20:56:52下载
    积分:1
  • topkong
    本程序由经典99行拓扑优化程序改编,可以反向进行反向夹持器的拓扑优化( A 105 LINE TOPOLOGY OPTIMIZATION CODE BY OLE SIGMUND, JANUARY 2002 This example is selected from the document of "on the design of compliant mecanisms using topology optimization" Note the input displacement is specified as 5e-3mm here )
    2009-10-20 16:52:12下载
    积分:1
  • kalman-example
    可以对卡尔曼滤波有较为准确的认识与理解,并且对迭代算法有一定的了解。 (Can to kalman filter have relatively accurate knowledge and understanding, and to have some understanding of iterative algorithm.)
    2011-09-27 10:08:52下载
    积分:1
  • ToolboxBalu3
    THIS IS A DOCUMENT ABOUT THE TOOLBOX OF IMAGES CALIBRATION. IN THIS PAPER EXPLAINS THE TOPICS OF THE CALIBRACION TOOLBOX
    2013-04-26 23:04:49下载
    积分:1
  • BP_GA
    用BP网络建立映射关系,为遗传算法提供适应度函数,通过改进遗传算法完成最小值优化(the mapped relation is built using BP network in order to provide fitness function for genetic algorithm. At last, optimization of minimum value is finished by genetic algorithm. )
    2009-09-25 09:10:15下载
    积分:1
  • kalfilter
    标准的卡尔曼滤波程序,使用matlab实现,程序中通过一个简单的模拟,说明了卡尔曼滤波器的跟踪滤波原理。(The standard Kalman filtering process, using matlab implementation, the program through a simple simulation illustrates the principle of Kalman filter tracking filter.)
    2009-10-11 22:04:09下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载