登录
首页 » matlab » youhua1

youhua1

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

  • fisherface
    本文在Matlab7.5下面实现了fisherface算法,选用的人脸库是ORL,其中有40 人,每人有10幅不同的人脸图像。本文选取了每人9幅作为训练(1幅作为测 试),图像大小为112x92。(In this paper, the following Matlab7.5 realized fisherface algorithm, selection of face database is ORL, in which 40 people, each person will have 10 different people face image. This article is selected as a training per nine (one as a test), image size is 112x92.)
    2009-11-23 20:47:49下载
    积分:1
  • killhimself
    有关于——程序自杀技术实现——的一些简单代码,,,,,,(About- suicide technology program some simple code ,,,,,,)
    2010-05-13 22:28:28下载
    积分:1
  • chengxu
    matlab代码:eu2hom.m 笛卡儿坐标转齐次坐标 hom2eu.m其次坐标转笛卡尔坐标 plot3square: 画三维简单图形.(Matlab code: eu2hom.m Cartesian coordinates turn the homogeneous coordinates hom2eu.m coordinate transformation Cartesian coordinate plot3square is: draw three-dimensional simple graphics.)
    2013-04-12 21:20:42下载
    积分:1
  • useGUI2
    matlab下的GUI使用指导视频,让你快速掌握GUI的使用(GUI using matlab under the guidance of video, let you quickly master the use of GUI)
    2009-04-09 10:34:27下载
    积分:1
  • sqplab-0.4.4-distrib
    SQPLab program in Matlab
    2009-07-01 17:02:04下载
    积分:1
  • HHTsummary
    希尔伯特黄变化学习总结,技术文档,含部分matlab代码,希望对大家有帮助(Hilbert Huang change learning summary, technical documentation, containing part of the matlab code, and hope to help everyone)
    2013-09-04 14:44:09下载
    积分:1
  • medical-cbir1234
    MEDICAL CRBI for health
    2015-03-02 02:13:11下载
    积分:1
  • Demos
    This demo file shows capabilities for PID Controller design and tuning in MATLAB and Simullink
    2013-04-13 02:54:59下载
    积分:1
  • NM035--Doppeler-mitigation-in-OFDM-based-aeronaut
    Doppeler mitigation in OFDM based aeronautical
    2015-02-10 21:42:47下载
    积分:1
  • PracticalFIrFilterDesigninMATLAB
    (ebook)Practical FIR Filter Design in MATLAB.rar 关于fir滤波器设计的matlab版 很好的资料((Ebook) Practical FIR Filter Design in MATLAB.rar on the fir filter design matlab version of good information)
    2010-09-29 13:41:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载