-
MRAC1
matlab code for model reference adaptive control
- 2011-09-26 17:23:18下载
- 积分: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
-
nmm105
线性方程组,非线性方程组,最小二乘拟合等数值算法的matlab实现。(Linear equations, nonlinear equations, numerical algorithm such as least-squares fitting of the realization of matlab.)
- 2009-07-06 21:32:10下载
- 积分:1
-
Matlab2010
适合MATLAB入门人员,包含语法说明,实例教程等,很详细的资料(MATLAB for entry personnel, including syntax descriptions, tutorials, examples, very detailed information)
- 2014-10-30 11:42:16下载
- 积分:1
-
antcolonyalgorithm
用基本蚁群算法实现CDMA系统中的多用户检测(Basic ant colony algorithm with CDMA systems multiuser detection)
- 2010-07-06 22:21:20下载
- 积分:1
-
Runge-Kutta
龙格库塔法的编程,龙格库塔法的编程龙格库塔法的编程(Runge-Kutta method of programming)
- 2013-12-03 21:16:10下载
- 积分:1
-
IBC-WMMSE
基于凸优化 多小区用户和速率最大化算法,采用迭代算法(Maximization algorithm based on convex optimization community more users and rate, using iterative algorithm)
- 2021-01-08 11:28:52下载
- 积分:1
-
MPC
无人驾驶汽车模型预测控制的算例代码,非常实用。(The code of the model predictive control of the unmanned vehicle)
- 2017-12-07 11:06:45下载
- 积分:1
-
lab1
Lab1 sur le filtrage pour la commande prédictive
- 2013-01-24 04:02:35下载
- 积分:1
-
zhiahu
排队论指数分布MATLAB程序,已经调试过了,很好用(MATLAB procedures for exponential distribution of queuing theory)
- 2009-09-13 17:59:47下载
- 积分:1