登录
首页 » matlab » youhua1

youhua1

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

  • GAandassigmentmatlab
    基于遗传算法的模糊指派(based on genetic algorithm Fuzzy Assignment)
    2007-06-29 17:53:07下载
    积分:1
  • PR
    说明:  采用身高和体重数据作为特征,分别假设二者相关或不相关,在正态分布假设下估计概率密度,建立最小错误率Bayes分类器,写出得到的决策规则,将该分类器应用到训练/测试样本(Bayes classifier is the most classic! Minimize the classification error. With the matlab language, with examples)
    2010-12-01 20:22:36下载
    积分:1
  • envireadandwrite
    matlab 与ENVI中数据格式转换,可以很好地实现两者之间的数据格式转换,包括enviwrite,enviread等(matlab with ENVI data format conversion, you can achieve a good conversion between data formats, including enviwrite, enviread etc.)
    2020-10-20 13:37:25下载
    积分:1
  • Qi_hyperchaos
    hyper chaos that can be used in encryption
    2010-09-08 21:42:25下载
    积分:1
  • Matlab_mohu
    利用Matlab的模糊逻辑工具箱实现模糊控制系统仿真(Using Matlab' s fuzzy logic toolbox of Fuzzy Control System)
    2010-10-19 10:14:35下载
    积分:1
  • shiyan1
    蚁群算法在求解连续空间优化问题中的应用研究(Ant colony algorithm in continuous space optimization problem solving in applied research)
    2009-05-11 17:28:31下载
    积分:1
  • lsvm
    支持向量机方法,用matlab实现,用于分类检测、模式识别,人脸检测等(Support Vector Machine method, the realization of Matlab for the detection and classification, pattern recognition, face detection)
    2005-07-26 10:52:00下载
    积分:1
  • Verification--of--a-Six-Degree--of-Freedom--Simul
    The REMUS simulator program was written using MATLAB. The first program, REMUSSIM.m,loads the vehicle initial conditions and tracks the vehicle state. The second program, REMUS.m,calculates the new vehicle accelerations based on the vehicle state and control inputs.
    2014-09-22 21:07:45下载
    积分:1
  • DCTyuzhi
    DCT变换:变换域系数选取采用阈值编码,:阈值越小,图像恢复效果越好,但压缩效果差,一般取在5-10 即可很好的获得恢复图像信息。(DCT transform: transform domain coefficients selected using the threshold coding: the smaller the threshold value, the better the image restoration, but the compression is poor, and generally in the 5-10 to get a good recovery image information.)
    2013-12-26 21:13:41下载
    积分:1
  • hf
    数字图像处理--同态滤波--matlab程序(Digital image processing- homomorphic filtering- matlab program)
    2013-12-02 10:52:44下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载