-
lcm_method
to generate unimorm random numbers between 0 & 1 using lcm method
- 2014-10-07 15:15:42下载
- 积分:1
-
fayedpcm
本文是用线形预测编码对图像进行压缩,这种方法是中无损压缩(This article is a linear prediction coding of image compression, this method is in the lossless compression)
- 2007-09-12 11:06:35下载
- 积分: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
-
MAZE
a new way to solve MAZE problem using cellular automaton
- 2011-09-24 04:10:14下载
- 积分:1
-
heffron_SSSC
Hefron Phillips Model of the SMIB with SSSC
- 2012-10-05 15:49:05下载
- 积分:1
-
dd1
在MATLAB开发平台上,在做图像的处理进行分割时,可采用迭代法求阈值进行分割。(In the MATLAB development platform to do image processing in the segmentation, the iterative method can be used to segment the threshold requirements.)
- 2011-05-08 12:40:47下载
- 积分:1
-
four-danymic-matlab
汽车四自由度力阶跃输入反应的仿真程序
通过该程序可以很好地实现仿真效果(Car four degrees of freedom force step input response of the simulation program
The program can achieve simulation results)
- 2012-04-01 10:52:13下载
- 积分:1
-
aerosonde_fs2000
this file is inoder to let you be able to use the aer block found n the matlba for matlab issues n order to stay in the situation while occuring
- 2014-08-25 20:49:04下载
- 积分:1
-
2059328H_3
A Matlab program on ECG signals
- 2014-02-20 15:10:39下载
- 积分:1
-
costas_PLL
基于matlab 2010rb采用M语言,编程实现costas环,在主界面输入相关参数,即可仿真通过,并计算得出结果。(2010 rb adopts M based on matlab language, the programming to realize costas loop, input related parameters in the main interface, can be simulated by, and the calculated results.)
- 2017-01-21 09:45:51下载
- 积分:1