登录
首页 » matlab » youhua1

youhua1

于 2020-12-11 发布 文件大小:2KB
0 195
下载积分: 1 下载次数: 41

代码说明:

  遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴(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可以控制输出格式 待优化问题)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • pca
    Principal Component Analysis
    2009-12-21 18:49:31下载
    积分:1
  • HuffCode
    this proggram s name is huffcode and it s written in matlab and as its name is clear, it gives hufmman code for probability vector
    2012-06-17 15:50:54下载
    积分:1
  • pointExtraction
    说明:  文件中的是图像配准过程中常用的几种提取特征点的方法(Several common methods of extracting keypoits in the process of image registration)
    2011-03-13 16:42:21下载
    积分:1
  • dBmtoV
    功率与电压的转换..............(the transfer between power and voltage)
    2011-11-15 19:52:58下载
    积分:1
  • lab
    convolution & correlation
    2012-03-27 14:46:46下载
    积分:1
  • Simulink
    matlab中simulink仿真教材,非常实用,内容充实,值得学习。(matlab simulink simulation in teaching, very practical, informative, worth learning.)
    2011-12-31 00:50:48下载
    积分:1
  • PLL0
    PLL锁相环运用在矢量变换中的matlab的仿真模型,试试看咯!(PLL is used in the vector transformation of matlab simulation model, try slightly!)
    2014-08-26 14:48:43下载
    积分:1
  • duomubiaoxianxingguihua
    多目标线性规划的编程方法,算法指导,值得参考,很好用(Programming method for multi-objective linear programming algorithm guidance)
    2013-04-27 23:15:56下载
    积分:1
  • DCTlicheng
    研究表明,构成K一L变换矩阵的向量也就是ToePhtz矩阵的特征向量。与此同时,离散 余弦变换矩阵逼近于ToePutz矩阵的特征向量矩阵,所以离散余弦变换矩阵与自然图像的 K一L变换矩阵十分相似。经过离散余弦变换后的变换系数块的协方差矩阵Cy非常接近对角 阵,即除了对角线元素以外,其它很多元素都近似为0,并且在左上角集中了主要能量。这 反映了自然图像大部分区域变化不大,亮度突变只占少数,即图像能量以低频成分为主的特 性。通过变换后的量化,舍弃对视觉效果影响较小的次要信息,可达到进一步的压缩效果。 虽然从去相关性能的意义上讲,DCT是一种次于K一L变换的准最佳变换,但是从算法实现的角度来看,DCT则远远优于K一L变换。首先,当图像的分块大小确定后,DCT的变换矩阵也就随之确定了,不随输入信号的统计特性变化而变化 其次,二维DCT能够分解成两次一维DCT,有利于硬件实现。 (Studies have shown that constitute a K L transformation matrix vector is ToePhtz eigenvector of the matrix. At the same time, discrete The cosine transform matrix approximation in ToePutz matrix eigenvector matrix, so the discrete cosine transform matrix and natural images Is very similar to a K L transformation matrix. After discrete cosine transform, the transform coefficient block of Cy is very close to the diagonal of covariance matrix Matrix, namely except diagonal elements, many other elements are approximate to 0, and focused the main energy in the upper left corner. this Reflects the natural images most area changed little, brightness mutations accounted for only a few, the energy is given priority to with low frequency components of image Sex. Through quantitative after transformation, abandoning smaller effect on the visual performance of secondary information, can achieve further compression effect. Although from related to the performance of the sense, DCT is a kind o)
    2013-11-25 16:00:24下载
    积分:1
  • relax算法
    说明:  压缩包中是五六个relax算法程序,可自己下载查看 包括一维信号重构、雷达目标识别、谐波检测等(There are five or six relax algorithm programs in the compressed package, which can be downloaded and viewed by yourself Including one-dimensional signal reconstruction, radar target recognition, harmonic detection, etc.)
    2021-04-23 21:58:47下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载