-
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
-
lvboqi
基于MATLAB的GUI滤波器设计资料。(Based on MATLAB the GUI filter design information.)
- 2012-11-22 19:53:54下载
- 积分:1
-
BPSK
QPSK仿真系统编程。调制、信道、检测。
· 误码率仿真。
(QPSK simulation system programming. Modulation, channel detection. BER simulation.)
- 2013-12-29 16:32:11下载
- 积分:1
-
MFCspeech
基于MFCC的语音识别仿真系统,文件中带有完成语音识别训练的源代码.(Simulation-based MFCC speech recognition system, the file with complete source code for speech recognition training.)
- 2010-10-09 17:04:14下载
- 积分:1
-
fusemoxingtiqu
说明: 基于肤色的人脸检测,肤色的提取。基于肤色的人脸检测方法,包括肤色模型建立和肤色分割过程两大部分内容。在比较了颜色空间和两种模型后,选择了在 YCbCr 空间建立高斯模型。输入图像经过相似度计算、阈值分割、最后得到人脸区域。-(matlab color detection procedure. rgb2tsl.m color model used for conversion, will be converted to RGB mode TSL model. realize skin.m color detection, color region is white, non-color region is black.)
- 2010-05-03 10:23:52下载
- 积分:1
-
fugaisuanfa
可以直接运行的无线传感器网络覆盖算法MATLAB代码(Can be directly run the wireless sensor network coverage algorithm MATLAB code)
- 2013-11-29 16:32:48下载
- 积分:1
-
MSK_matlabll
这个是关于MSK调制的MATLAB仿真程序,对正在研究MATLAB调制信号的人来说很有用,其中含有仿真图。(The MSK modulation MATLAB simulation program, useful to the people being studied MATLAB modulation signal, which contains the simulation Fig.)
- 2012-12-04 16:33:27下载
- 积分:1
-
ktslr_codes
稀疏低秩的动态MRI成像代码,基于CPU的matlab代码版本,有代码加速优化处理(k-t SLR: Accelerated dynamic MRI using low rank and sparse penalties (CPU version: MATLAB codes))
- 2014-01-15 11:42:05下载
- 积分:1
-
ap2_m
这是一个简单的ML算法程序,采用了交替投影AP方法(this is a simple ML program on matlab)
- 2010-08-11 08:24:41下载
- 积分:1
-
MATLAB-DEMO-CODE
matlab demo code .. .. .. ..
- 2013-04-17 19:18:05下载
- 积分:1