-
youhua1
遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴(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可以控制输出格式
待优化问题)
- 2020-12-11 20:19:19下载
- 积分:1
-
Mixer2110-7-31
混频器建模的Matlab仿真程序!有GUI界面可供进行混频器的参数设置!(Mixer simulation program Matlab modeling! A GUI interface for setting parameters for the mixer!)
- 2010-08-06 15:42:05下载
- 积分:1
-
MATLAB_Collection
《MATLAB宝典》MATLAB入门的超强超全的使用工具书。(" MATLAB Collection" MATLAB Introduction to the use of super-ultra-wide tool.)
- 2010-11-27 18:35:26下载
- 积分:1
-
ANN_matlab
simulation of neural network
- 2010-11-29 02:04:52下载
- 积分:1
-
MATLAB_3
说明: 本書完整的說明與充分的網路支援,可以使讀者能充分地掌握MATLAB的脈動,擁有解決工程問題的最佳利器,21-29章(A complete description of the book and the full network support, will enable readers to fully grasp the pulse of MATLAB, has to solve engineering problems in the best weapon ,21-29 s)
- 2008-08-26 21:21:01下载
- 积分:1
-
Wave-in-Viscoelastic-Media
硕士论文:粘弹性介质地震波数值模拟。
震波在实际地层介质中传播与在理想的完全弹性介质中传播有许多不同之处,地层的粘滞性会损耗地震波能量,使其振幅衰减并且视频率逐渐降低。地震波的这种能量
衰减和频散,使得不能直接从地震数据上得到准确的地下信息和分辨率更高的图像。实
际的地层更接近于粘弹性介质,本论文主要探讨和研究了粘弹性介质中地震波传播的数
值模拟方法及其衰减规律。
(Thesis: viscoelastic medium seismic wave numerical simulation. The shock wave propagation in the formation medium and ideal perfectly elastic medium spread there are many differences, the viscosity of the strata will loss seismic energy, so that the amplitude attenuation and video rate gradually reduce. This energy of the seismic wave attenuation and dispersion makes accurate subsurface information and higher resolution images can not be obtained directly from the seismic data. Actual formation closer viscoelastic medium, this thesis is to explore and study the numerical simulation of seismic wave propagation in viscoelastic media and its decay law.)
- 2013-03-01 23:10:56下载
- 积分:1
-
Beam-width
波束宽度与波达方向及阵元数的关系matlab源程序。(Beam width and direction of arrival and the relationship between the number of array elements matlab source.)
- 2011-10-12 20:30:09下载
- 积分:1
-
self_pll
完成了PLL锁相环路的产生和控制,其中输入为30kHz,输出为100kHz。(complete the PLL s function,convenent to produce and control,and the frequency of input source is 30kHz,the output is 100kHz)
- 2014-04-07 12:27:44下载
- 积分:1
-
06169936
Interference Management with Relay Cooperation in
Two-Hop Interference Channels
- 2013-08-19 17:33:33下载
- 积分:1
-
EX09_04
关于Google Map的源码,用于定位所在的位置,相当实用(The code for Google Map)
- 2010-03-11 22:27:39下载
- 积分:1