登录
首页 » matlab » youhua1

youhua1

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

  • Desktop
    用matlab做的类似画图板一样的工具。运用了GUI编程技术,可以做为学习GUI的参考
    2010-06-10 08:42:11下载
    积分:1
  • QAM
    This code is used in the course Digital Communications. It simulates 16QAM mode with different SNRs.
    2013-11-10 02:39:50下载
    积分:1
  • femaleOrMale
    This script/program, decide about type of voice in input wav file (female or male)
    2013-09-21 01:01:58下载
    积分:1
  • HHT-
    对暂态信号进行EMD分解,得到边际谱。具体如何运行,文件夹里面都有。(EMD decomposition of the transient signals, to obtain marginal spectrum. Specifically, how to run, which has folder.)
    2020-12-10 10:59:18下载
    积分:1
  • matlab_intro
    learn intro simulation matlab
    2010-07-29 15:12:57下载
    积分:1
  • CNLSE
    用分步法 计算 耦合非线性薛定谔方程; 主要用于高功率锁模增益光纤激光器的数字模拟; 模拟步骤分四步:光纤损耗传输、色散、非线性、增益; finding 是主程序,其它是函数 (Digital-to-analog simulation steps coupled nonlinear Schrö dinger equation is mainly used for high-power mode-locked gain fiber laser with a fractional step in four steps: the fiber loss transmission dispersion nonlinear gain finding is the main program, other functions)
    2021-04-20 15:18:51下载
    积分:1
  • mocvd
    这是计算光子晶体程序,对研究光子晶体的同行很有用(This is the calculation procedures for photonic crystals, photonic crystals to study the usefulness of the peer)
    2009-03-28 09:44:59下载
    积分:1
  • Scanning-frequency
    频率域扫描建模,可以匹配传递函数,很实用的仿真。(Scanning frequency domain model, can match the transfer function, it is useful simulation.)
    2020-06-29 12:20:01下载
    积分:1
  • 12
    说明:  a common use of fourier transforms is to find the frequency components
    2012-11-23 02:39:25下载
    积分:1
  • 灰色系统GM(1 ,1)的 MATLAB 实现及其应用
    灰色 GM(1 ,1) 预测模型是灰色理论中的重要组成部分 ,也是主要的预测方法之一. 因此 , GM(1 ,1)模型的应用范围很广泛.,用 MATLAB 软件 实现了 GM(1 ,1)预测算法并给出了源代码.(Grey GM (1, 1) prediction model is an important part of grey theory, and it is also one of the main prediction methods. Therefore, GM (1, 1) model has wide application scope. GM (1, 1) prediction algorithm is implemented by MATLAB software, and the source code is given.)
    2018-02-12 22:50:11下载
    积分:1
  • 696518资源总数
  • 104432会员总数
  • 16今日下载