-
Culturalalgorithm-
用于函数优化问题的混合粒子群文化算法源程序(program of function optimization based on Cultural algorithm )
- 2011-07-28 17:08:56下载
- 积分:1
-
sinc_gause
简单函数的傅里叶变换,包括sinc、高斯函数和带有二次相位的高斯函数的傅里叶变换(Fourier transform of simple function)
- 2018-04-11 19:38:42下载
- 积分:1
-
ROM
延迟函数的编写,希望能给大家提供点微bao之力(delay)
- 2010-07-17 14:51:45下载
- 积分:1
-
Conjugate-gradient
共轭梯度法是介于最速下降法与牛顿法之间的一个方法,它仅需利用一阶导数信息,但克服了最速下降法收敛慢的缺点,又避免了牛顿法需要存储和计算Hesse矩阵并求逆的缺点,共轭梯度法不仅是解决大型线性方程组最有用的方法之一,也是解大型非线性最优化最有效的算法之一。(Conjugate gradient method is between the steepest descent method and Newton method between a method that only use the first derivative information, but the steepest descent method to overcome the disadvantage of slow convergence, but also avoids the need to store and calculate Newton Hesse matrix and the shortcomings of the inverse, conjugate gradient method is not only linear equations to solve large-scale one of the most useful, large-scale nonlinear optimization solution is also the most efficient algorithms.)
- 2011-05-06 16:20:24下载
- 积分:1
-
rls_AR_pred
使用基本的递归最小二乘算法来预测实值AR过程信号(use basic RLS algorithm to predict real-valued AR process)
- 2013-01-14 14:44:21下载
- 积分:1
-
Adaptive-genetic-algorithm
基于MATLAB的自适应遗传算法的代码实现(Adaptive genetic algorithm based on MATLAB)
- 2015-03-23 17:21:09下载
- 积分: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
-
S.J.ChapmanMATLAB
S.J.Chapman《MATLAB编程》中文版
经典著作权威翻译,希望为广大matlab初学者提供帮助(SJChapman MATLAB Programming authoritative translation of the Chinese version of classics, I hope for the general matlab beginners help)
- 2008-04-22 14:11:25下载
- 积分:1
-
C16
array stack 学习代码,帮助大家学习(array stack study code)
- 2014-09-24 14:35:07下载
- 积分:1
-
MA-matlabdoc
用matlab实现遗传算法,包括有交叉变异等及适应值的计算啊(Using matlab genetic algorithm, including the calculation of the of cross mutation and adaptation value.)
- 2012-11-26 20:36:50下载
- 积分:1