-
liejskjfs
说明: 野人过河问题属于人工智能学科中的一个经典问题,问题描述如下: 有三个牧师(也有的翻译为传教士)和三个野人过河,只有一条能装下两个人的船,在河的任何一方或者船上,如果野人的人数大于牧师的人数,那么牧师就会有危险. 你能不能找出一种安全的渡河方法呢?的matlab程序!(Savage river belongs to the problem of artificial intelligence disciplines a classic problem, it is described as follows : There are three priests (also translated some of the missionaries) and the three Savage cross the river, only one can hold the next two boats in the river or any of the parties on board, if Savage is greater than the number of priests the number of priests will be so dangerous. you can find a safe way to cross the river? The Matlab procedures!)
- 2006-03-30 22:02:40下载
- 积分:1
-
信道编码
汉明码和crc校验码等信道编码的详细MATLAB代码(Hamming code, such as channel coding detailed MATLAB code)
- 2021-02-04 16:09:57下载
- 积分:1
-
sunouhebianbianjie
相场模拟晶枝生长,采用有限差分法计算,可更改参数获得不同结果(Phase field simulated dendrite growth)
- 2019-06-19 14:24:52下载
- 积分:1
-
singlei
小波包分析提取振动信号中的特征频率,与理论分析结果相比,用于建立主成分分析模型。( Wavelet packet analysis to extract vibration signal characteristic frequency, Compared with the results of theoretical analysis, Principal component analysis model for establishing.)
- 2016-07-31 01:38:50下载
- 积分:1
-
DateConvert
DateConvert:简单而快速的日期转换
DateConvert转换DATESTR(0)格式的日期向量或序列号和日期向后。
Matlab的DATENUM,DATEVEC和DATESTR接受各种不同意见,但结果他们是缓慢的。如果输入格式正是众所周知,转换可以更快:
DATENUM( 17 - 10 - 2009 11时08分23秒 ):2.97秒
DateConvert( 17 - 10 - 2009 11时08分23秒 , 号码 ):0.039秒
=>“1.3%(1000环,1.5GHz的奔腾- M的,利用Matlab 7.7)
DateConvert不*不*验证作为Matlab的日期函数输入日期:
DATEVEC( 32 - 2 - 2008 25:62:63 )的答复[2008 3 4 2 2 7]
DateConvert( 32 - 2 - 2008 25:61:67 , 载体 )的答复[2008 2 32 25 61 67]!
因此DateConvert几乎微不足道,但对速度进行了优化。我需要时间排序200 000邮票,并从217个减少到11秒的时间。
请运行单元测试TestDateVec检查的有效性和速度。
测试:利用Matlab 6.5,7.7,7.8,winxp的,32位。
纯Matlab代码,所以兼容性的MacOS,Linux操作系统,64位预期。
英语月份名称是必要的。(DateConvert: Simple but fast date conversion
DateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards.
Matlab s DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the input format is exactly known, the conversion can be much faster:
DATENUM( 17-Oct-2009 11:08:23 ): 2.97 sec
DateConvert( 17-Oct-2009 11:08:23 , number ): 0.039 sec
=> 1.3 (1000 loops, 1.5GHz Pentium-M, Matlab 7.7)
DateConvert does*not* validate the input date as Matlab s date functions:
DATEVEC( 32-Feb-2008 25:62:63 ) replies [2008 3 4 2 2 7],
DateConvert( 32-Feb-2008 25:61:67 , vector ) replies [2008 2 32 25 61 67] !
So DateConvert is nearly trivial, but optimized for speed. I needed it for sorting 200 000 time stamps and reduced the time from 217 to 11 sec.
Please run the unit-test TestDateVec to check validity and speed.
Tested: Matlab 6.5, 7.7, 7.8, WinXP, 32bit.
Pure Matlab code, so compat)
- 2010-07-05 11:59:46下载
- 积分:1
-
rayleigh
This is layleigh source code for Matlab program
- 2009-10-03 12:33:34下载
- 积分:1
-
matlabGUI
matlab中如果需要更改对话窗口的图标,则需要自己在程序中加入代码,文件包括3个窗口的图标更改程序。(matlab dialog window, if you need to change the icon, you will need to add your own in the program code, files including three windows icons change the program.)
- 2013-11-07 20:42:58下载
- 积分:1
-
GMres
数值算法中另一个经典算法gmres算法,用来求解大型矩阵方程问题。(Another classic algorithm gmres algorithm used to solve the problem of large matrix equations.)
- 2005-04-21 01:01:38下载
- 积分:1
-
Droopcontrol329
可实现微电网中分布式电源的下垂控制,采用三环控制策略,节点既可作为V/f结点,也可作为PQ结点(It can achieve distributed generation droop control in Microgrid, which uses three-loop control strategy. The node can be used as V/f node, the node can also be used as PQ node)
- 2021-03-04 11:19:32下载
- 积分:1
-
uitled
simulink同心坊镇模块,通信仿真中经常会用的啊函数和相关模块(Simulink concentric fangzhen of modules, communication simulation often used functions and related modules)
- 2013-04-24 20:47:41下载
- 积分:1