登录
首页 » matlab » youhua1

youhua1

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

  • MCPparaextract
    MCP参数提取程序,用最小二乘提出电容电感值,用matlab实现(MCP parameter extraction procedure using the least-squares made inductance capacitor value, and achieve Matlab)
    2007-06-14 22:24:31下载
    积分:1
  • mg2D
    二维贝叶斯反演方法的实现matlab代码,包含地质统计学知识(The realization of two-dimensional Bayesian inversion method matlab code, including geostatistics knowledge)
    2021-03-19 20:49:19下载
    积分:1
  • feixianxingzuixiaoerchengyouhua
    用G-N法求解非线性最小二乘优化问题 用修正G-N法求解非线性最小二乘优化问题 用L-M法求解非线性最小二乘优化问题 (GN method for solving nonlinear least squares optimization problems using a modified GN method for solving nonlinear least squares optimization problems using LM method for solving nonlinear least squares optimization problem)
    2021-05-15 16:30:08下载
    积分:1
  • fiber mode
    光纤LP模式,光纤模式计算,纤芯模式,有效折射率(Fiber LP mode, fiber mode calculation, fiber core mode, effective refractive index)
    2021-02-25 22:09:38下载
    积分:1
  • ConstantiniUnwrap
    InSAR里面的最小网络流法相位解缠绕的MATLAB源代码,绝对能够运行。(InSAR which the minimum network flow phase unwrapping method for MATLAB source code is absolutely able to run.)
    2021-01-07 20:18:52下载
    积分:1
  • greycluster
    災色統計聚類的matlab源碼,可用來進行統計分析,計算白化與灰化的情況(disaster color clustering Matlab statistical source, which can be used for statistical analysis, computation and whitening of the ash)
    2007-06-01 17:14:14下载
    积分:1
  • paper4
    Technical Report Multi-Carrier Position-Based Packet Forwarding Protocol For Wireless Sensor Networks
    2015-02-25 16:28:11下载
    积分:1
  • trellis
    set up the trellis with code generator G in binary matrix form.
    2015-02-20 16:03:41下载
    积分:1
  • 14db3585364e
    希尔伯特黄变换matlab小程序,一种适用于分析非平稳非线性信号的时频分析方法。(Hilbert-Huang Transform matlab code. It applies to seismic data.)
    2013-12-04 10:28:05下载
    积分:1
  • goldcode_seq_gen_ACF_CCF
    AUTO CORRELATION AND CROSS CORRELATION FOR GOLD CODE
    2013-05-15 21:37:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载