-
random
通过这个实验,熟悉并能够灵活运用随机数函数方法去解决实际生活中的问题。(Through this experiment, familiar and flexible use of random number function to solve real life problems.)
- 2010-05-23 09:10:30下载
- 积分:1
-
matlab程序
心音与肺音的提取与分离,噪声的基础性的去除。(The extraction and separation of heart and lung sounds, the basic removal of noise.)
- 2020-12-11 16:49:17下载
- 积分:1
-
matlab仿真程序
- 2022-05-12 23:59:00下载
- 积分:1
-
fuzzy1
模糊控制的程序,基于matlab工具箱,下载就能用,绝对正确(Fuzzy control program, based on the matlab toolbox, download you can use, absolutely correct)
- 2011-06-09 15:58:24下载
- 积分:1
-
CS_OMP
一个cs的信号重构算法的简单实现--OMP(compressed sensing reconstruction algorithm of omp)
- 2011-09-08 16:30:15下载
- 积分:1
-
lrr(motion_face)
基于低秩表示的运动分割与人脸聚类的matlab代码(motion segmentation and face clustering by LRR)
- 2013-04-24 10:16:52下载
- 积分:1
-
Matrix
利用MATLAB编写的带有GUI界面的矩阵计算器,可实现一般的功能,及其扩展功能(Matrix calculator using MATLAB prepared with a GUI interface, enabling the general functions and extensions)
- 2020-09-03 08:38:07下载
- 积分:1
-
遗传算法在车间调度问题上的应用
遗传算法在JSP问题上的应用,本算法是解决柔性车间调度问题,可以解决刀具、AGV等资源约束问题。
- 2022-02-27 00:43:49下载
- 积分:1
-
第一,二种边界条件的三次样条插值法matlab代码
第一,二种边界条件的三次样条插值法matlab代码-First, the two kinds of boundary conditions of the cubic spline interpolation matlab code
- 2022-05-30 08:53:27下载
- 积分: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