登录
首页 » matlab » youhua1

youhua1

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

  • 89346499sr
    产生随机共振现象的输入输出信噪比曲线,运用龙格库塔算法求解朗之万方程,进而实现随机共振系统(the realization of stochastic resonance systems)
    2020-11-15 17:59:41下载
    积分:1
  • xuxiaoke
    许小可的这几篇文章也很有用的,对我来说,希望对其他朋友也有所帮助!谢谢!(Hsu Hsiao Ke these articles are useful, for me, other friends want to help! Thank you!)
    2011-05-31 21:43:03下载
    积分:1
  • beamforming1_SMI_ESB_givens
    波束形成中运用givens旋转来查找权值的算子(Use of givens rotation beamforming operator to find the right value)
    2012-09-08 10:58:29下载
    积分:1
  • TSP
    使用lingo求旅游商问题。 当然,如果数据量大的话,还是用经典算法吧。(Tourism operators seek to use lingo problem. Of course, if the data is large, then it is the classical algorithm used.)
    2010-08-02 15:27:02下载
    积分:1
  • mpc
    模型预测控制,单输入单输出系统,多输入多输出系统,三阶系统带约束的模型预测控制(MPC,Model Predictive Control,MIMO,SISO)
    2020-11-12 01:59:44下载
    积分:1
  • FCV_powertrain_2010
    FCHV POWERTRAIN MATLAB/simulink模型,包括燃料电池模型,发动机模型,电动机模型,能量管理系统模型(FCHV POWERTRAIN MODEL)
    2021-02-26 10:59:37下载
    积分:1
  • cljs
    潮流计算 pq 法 详细的程序在里面,,很好用个(FLOW pq yew yes yes yes yes yes)
    2011-06-19 01:01:48下载
    积分:1
  • MATLAB
    MATLAB(矩阵实验室)是MATrix LABoratory的缩写,是一款由美国The MathWorks公司出品的商业数学软件。MATLAB是一种用于算法开发、数据可视化、数据分析以及数值计算的高级技术计算语言和交互式环境。除了矩阵运算、绘制函数/数据图像等常用功能外,MATLAB还可以用来创建用户界面及与调用其它语言(包括C,C++和FORTRAN)编写的程序。(MATLAB (MATrix LABoratory) is The abbreviation of MATrix LABoratory, is a by The United States The MathWorks company production of a commercial mathematical software. MATLAB is a kind of for algorithm development, data visualization, data analysis and numerical calculation of senior technical computing language and interactive environment. Besides drawing function/data image matrix operations, commonly used functions, such as MATLAB can also be used to create the user interface and the calls to other languages (including C, C++ and FORTRAN) program. )
    2013-10-18 17:44:50下载
    积分:1
  • SVM_iris
    matlab,K折交叉验证,SVM方法对IRIS分类(K-flod,matlab ,svm method)
    2021-04-10 18:38:59下载
    积分:1
  • SVD
    说明:  matlab程序,利用svd原理编写的svd分析海温的程序。(Matlab program, using the SVD principle of SVD analysis of SST program.)
    2020-03-29 14:49:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载