登录
首页 » matlab » youhua1

youhua1

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

  • isi
    ini catatn jul yg sulit dan susah untuk penelitian
    2009-12-03 12:53:32下载
    积分:1
  • SVM
    说明:  四种支持向量机SVM工具箱的分类与回归算法。MATLAB编写(Four types of support vector machine SVM toolbox classification and regression algorithm. MATLAB prepared)
    2008-11-07 22:55:53下载
    积分:1
  • kernel_isomap
    实现核ISOMAP算法,解决测试点问题和ROBUST问题(nuclear ISOMAP algorithm to solve problems and test questions Facility)
    2007-04-04 14:25:48下载
    积分:1
  • SEVENSVPWM
    三相四线制T型三电平逆变器仿真,采用7段式开关序列(Simulation of three-phase three level inverter)
    2017-06-11 09:43:05下载
    积分:1
  • FCM_AhmadGhorbanipour
    FCM implementation... A.Ghorbanipour 1398 ... 2019
    2019-07-05 17:33:52下载
    积分:1
  • PQ-control
    分布式发电的PQ控制研究仿真,通过MATLAB/simulink进行仿真(PQ control study simulation of distributed generation )
    2021-03-15 22:49:22下载
    积分:1
  • major-factor-ananlyze
    一般统计数据中有很多变量,采用组成分分析法,可以既有效抓住有效信息,又实现降维。本程序采用实例,来说明此方法。(General statistics, there are many variables, sub-components analysis, can only effectively capture useful information, but also to achieve dimensionality reduction. The program uses examples to illustrate this method. )
    2011-07-18 22:52:24下载
    积分:1
  • 217Convolutional-Codes-
    2,1,7卷积吗 ,实现vitebi译码(2.1.7Convolutional Codes and Viterbi decoding)
    2011-10-20 17:24:53下载
    积分:1
  • PolCal
    极化SAR定标处理的matlab程序,采用最新的Ainsworth算法(Polarization SAR processing matlab calibration procedure, using the latest algorithms Ainsworth)
    2010-11-01 13:01:30下载
    积分:1
  • 20141116
    将波束空间求根MUSIC算法应用于电力系统谐波检测(Roots of the beam space MUSIC algorithm is applied to the power system harmonic detection)
    2014-11-16 17:06:11下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载