-
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
-
NumericalMethodsinEngineeringMATLAB
English version for matlab learning(easy to learn and simple to use)
- 2010-07-09 05:49:10下载
- 积分:1
-
FOCUS_study
关于focus编程的相关学习资料,有详细的说明(Focus programming related learning materials, detailed instructions)
- 2013-02-27 09:34:12下载
- 积分:1
-
MATLAB-Codes-for-Finite-Element-Analysis
Discrete systems, such as springs and bars
• Beams and frames in bending in 2D and 3D
• Plane stress problems
• Plates in bending
• Free vibration of Timoshenko beams and Mindlin plates, including laminated
composites
• Buckling of Timoshenko beams and Mindlin plates
- 2012-01-08 01:06:01下载
- 积分:1
-
Matlab-SNN
随机神经网络(en: Stochastic Neural Networks)是一种人工神经网络,并作为人工智能的工具。它们向神经网络引进随机变化,一类是在神经元之间分配随机过程传递函数,一类是给神经元随机权重。(Random Neural Network (en: Stochastic Neural Networks) is an artificial neural network and artificial intelligence as a tool. They introduce random changes to the neural network, one is assigned a random process transfer function between neurons, one is to neurons random weights.)
- 2020-11-09 15:29:47下载
- 积分:1
-
shuikuidiaodupso
说明: 水电站中长期优化调度主要是在满足电力系统出力要求以及下游综合用水要求等的前提下,合理地安排水库各个月份的发电流量,使得调度期内的总发电量最大。即在给定预报入库流量过程线、下游综合用水流量过程线、调度期起始水位和终止水位等条件下,通过总水量的合理运用使调度期内水电站的总发电量最大。(Long-term optimal operation of hydropower stations mainly in the power system to meet the output requirements, and integrated water requirements downstream of the premise, reasonable arrangements for generating reservoir flow each month, making the scheduling period, the largest amount of total power generation. That is forecast in a given inflow hydrograph, downstream water discharge hydrograph synthesis, scheduling and termination of the initial water level and water level conditions, the total amount of water through the rational use of the scheduling period, the total generating capacity of the largest hydropower station.)
- 2011-03-07 09:40:57下载
- 积分:1
-
chongjixinhaozixiang
说明: 如何在图像中加入一个冲击信号,求冲击信号的自相关 并求与高斯信号的互相关性(how to insert noise,and how to konw the correlation with gaosi noise)
- 2011-03-16 15:23:04下载
- 积分:1
-
yydd2mmdd
程序将一年中的天数转换到相应的月份及日期。适用于TLE数据中的日期转换。程序不用if语句,简单易懂高效。输入参数可以是数组形式。(The program will convert the number of days in a year to the corresponding month and date. TLE data for the date conversion. Program without the if statement, straightforward and efficient. Input parameters may be matrix form.)
- 2013-07-11 07:44:38下载
- 积分:1
-
full_bridge_V2
DCDC全桥变换器的闭环simulink模型,电压闭环PI控制(Simulink for full_bridge DCDC.it was controled by PI controler )
- 2013-11-12 18:11:43下载
- 积分:1
-
fast-velocity-method
主要实现最速下降法的算法及主程序计算,主要实现最速下降法的算法及主程序计算,(fast velocity methodfast velocity methodfast velocity methodfast velocity methodfast velocity method)
- 2015-03-23 15:32:49下载
- 积分:1