登录
首页 » matlab » youhua1

youhua1

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

  • muinter_powercmp_interharmonic521
    韩宁窗函数插值算法,可以计算多次谐波信号的幅度相位和频率等信息(hanning interpolation)
    2009-12-13 10:32:35下载
    积分:1
  • qinhuaci
    弹奏青花瓷的matlab代码 (Blue and white porcelain matlab program play)
    2013-11-18 15:07:38下载
    积分:1
  • boostconverter11
    A DC to DC Boost Converter
    2014-12-23 16:54:45下载
    积分:1
  • MIMO_SER
    程序仿真MS(移动台)在分布式MIMO系统中(含有六个天线簇)的信噪比随距离的变化(Process simulation MS (mobile station) in a distributed MIMO system (with six antenna clusters) of the signal to noise ratio changes with distance)
    2021-02-28 21:49:35下载
    积分:1
  • FisherExactTest
    计算Fisher的函数,根据Fisher可以计算出克罗美下界(Fisher s exact test is a statistical test used to determine if there are nonrandom associations between two categorical variables[1]. The job of Fisher s exact test with 2 x 2 or 2x 3 contingency table is already easily done by others. However, the one with n x m contingency table hasn t found , or with bad computation. This function efficiently deals with Fisher s exact test with n x m contingency table. As for the function :)
    2010-07-14 10:44:55下载
    积分:1
  • TestWeiXinWhatsNew
    模仿微信导航页效果源码,应用程序编程源码,很好的参考资料。(Micro message navigation page source imitation effect, application programming source code, a good reference.)
    2013-11-11 23:56:43下载
    积分:1
  • EKF
    非线性扩展卡尔曼滤波算法的matlab程序(Description:This is a tutorial on nonlinear extended Kalman filter (EKF). It uses the standard EKF fomulation to achieve nonlinear state estimation. Inside, it uses the complex step Jacobian to linearize the nonlinear dynamic system. The linearized matrices are then used in the Kalman filter calculation. The complex step differentiation seems improving the EKF performance particularly in accuracy such that the optimization and NN training through the EKF are better than through the UKF )
    2013-01-27 23:26:14下载
    积分:1
  • range
    用于ply格式文件ascii与binary编码互相转换(ASCII and binary encoding used to ply file format conversion to each other)
    2020-12-23 16:59:07下载
    积分:1
  • site
    optimization energy hub planning
    2021-03-11 15:09:26下载
    积分:1
  • cmx823
    cmx823调制解调器,单音频解码器件。(cmx823 modem, a single audio decoder device.)
    2008-01-12 08:25:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载