-
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
-
RM_code
1、本程序用于仿真里德-穆勒(Reed-Muller)码在AWGN信道中的性能,调制采用bpsk
2、理论请参见《差错控制编码》(第二版),Shu Lin(美)编,晏坚等(译)一书P70-75.且仿真结果与书中图4-2完全一致
3、BPSK_AWGN_RM_Code.m为主程序,点击运行即可
4、The_creation_of_RM_code.m和RM_Decode.m分别为RM码的编、译码程序,而Majority_logic_decision.m用于译码中的大数判决,combine_dunction.m用于计算组合数。(1, the procedure for the simulation Reed- Muller (Reed-Muller) codes in AWGN channel performance, modulation using bpsk 2, theory, see " Error Control Coding" (second edition), Shu Lin (America) series , Yan Jian, etc. (translated) book P70-75., and the simulation results consistent with the book Figure 4-2 3, BPSK_AWGN_RM_Code.m-based program, click Run to 4, The_creation_of_RM_code.m and RM_Decode.m were RM compiled code decoding process, and in large numbers for decoding Majority_logic_decision.m judgment, combine_dunction.m used to calculate the number of combinations.)
- 2013-12-09 20:45:48下载
- 积分:1
-
MTI-simulation
MTI仿真,单延迟对消器频响图,单延迟对消器频响图,单延迟对消器频响图(MTI simulation,function [resp] = single_canceler (fofr1) )
- 2013-05-27 22:15:29下载
- 积分:1
-
greymodel
本程序主要用来计算根据灰色理论建立的模型的预测值。
应用的数学模型是 GM(1,1)。
原始数据的处理方法是一次累加法( Of the procedures used to calculate the main theory in accordance with the gray of the predictive value of the model. The application of the mathematical model is GM (1,1). Handling of the raw data is a cumulative method)
- 2009-05-09 17:13:39下载
- 积分:1
-
STFT
STFT界面 ,可用于时频分析,经分析具有良好的效果(STFT interface that can be used for time-frequency analysis, the analysis has a good effect)
- 2013-12-23 19:31:44下载
- 积分:1
-
Matlab
机械工程设计分析和MATLAB应用 第2版(郭仁生)
配套程序源代码(Mechanical engineering design analysis and application of MATLAB 2 (Guo Rensheng) supporting source code)
- 2011-06-01 17:38:51下载
- 积分:1
-
VC-call-matlab-multiThread
VC++调用matlab画图,效果很好!值得看(VC++ Call matlab drawing, the effect is very good!)
- 2013-09-24 17:30:51下载
- 积分:1
-
costas
基于costas环路的载波同步,使收发时钟频率和相位一致,环路包括四个部分乘法器和低通滤波、鉴相器、环路滤波器和数字振荡器组成(Based on the carrier synchronization of Costas loop, the frequency and phase of the transmit and receive clock is the same. The loop consists of four parts, including the multiplier and low-pass filter, phase detector, loop filter and digital oscillator.)
- 2015-09-02 23:06:15下载
- 积分:1
-
DSCDMA
Matlab Simulation for DS-CDMA
- 2011-05-10 14:28:04下载
- 积分:1
-
LCMV
LCMV波束形成MATLAB程序,用于LCMV波束形成图形仿真(Graphic simulation for LCMV beamforming)
- 2014-12-25 10:19:13下载
- 积分:1