登录
首页 » matlab » youhua1

youhua1

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

  • PMSM
    matlab中的永磁同步电机实验算法验证工程(The permanent magnet synchronous motor matlab algorithm validation experiment works)
    2015-04-05 00:53:49下载
    积分:1
  • tftb2002
    这是matlab中的时频分析工具箱,希望大家用得上。(This is a matlab in time-frequency analysis toolbox, I hope everyone useful.)
    2007-11-08 20:50:46下载
    积分:1
  • TV_inpainting
    说明:  采用总变分法(TV)进行图像修复的matlab源代码。包括热扩散修复和多尺度方法。(using variational (TV) for image restoration of Matlab source code. Thermal diffusivity including repair and multi-scale approach.)
    2006-02-21 14:20:57下载
    积分:1
  • baoluo
    利用时域数据计算数组的RMS值,利用时域数据计算冲击功率谱密度的试验包络条件。(An array of time-domain data using the RMS value of the time-domain data using the power spectral density of the impact test conditions envelope.)
    2013-07-16 14:37:03下载
    积分:1
  • esprit
    用MATLAB仿真谱估计中的ESPRIT算法(MATLAB simulation spectrum estimation using the ESPRIT algorithm)
    2011-06-25 13:07:25下载
    积分:1
  • Impact-Cost
    上传的matlab程序是股票市场的市场冲击成本程序,欢迎大家下载查阅!(the file is the matlab program of Impact Cost! )
    2013-09-26 08:57:21下载
    积分:1
  • blind-equalization-algorithm
    通过matlab仿真对多种不同的盲均衡算法收敛性能进行了比较(By matlab simulation for a variety of different blind equalization algorithm compares the performance of convergence)
    2013-11-20 16:10:51下载
    积分:1
  • MATLAB-getrect
    matlab 鼠标从一幅图像中截取一个区域,并生成一幅图片(get a picture form a picture)
    2013-11-27 16:13:19下载
    积分:1
  • mabpsk
    bpsk编码实现双继通道的物理层网络编码(BPSK Coding dual step-channel physical layer network coding)
    2021-01-12 17:18:48下载
    积分:1
  • 鲸鱼算法优化支持向量机 libsvm svdd woa
    说明:  鲸鱼算法优化支持向量机,可用于类预测,测试可用(Whale optimization algorithm optimization support vector machine)
    2020-12-17 19:59:11下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载