-
wavelet-decomposion
对脑电信号进行小波分解并重构,提取脑电信号不同频段的成分(Decompose EEG and then reconstruct it to get different component)
- 2020-11-05 10:39:53下载
- 积分: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
-
MATLAB_50
经典的50例电机仿真,包括磁路与变压器篇、直流电机篇、异步电机篇、同步电机篇等(50 cases of classic motor simulation, including circuit and transformer articles, articles DC motor, induction motor papers, articles, such as synchronous motor)
- 2009-04-01 19:05:59下载
- 积分:1
-
hmw2histogramcodeinmatlabsutech86213041
this code generate the histogram of a picture and normalize it .
- 2012-05-20 14:36:00下载
- 积分:1
-
Voicebox
all mfile can be used for speech proccesing
- 2014-12-18 23:13:01下载
- 积分:1
-
fem1d_spectral_numeric
FEM1D_SPECTRAL_NUMERIC is a MATLAB program which applies the spectral finite element method to solve the problem u = - pi^2 sin(x) over [-1,+1] with zero boundary conditions, using as basis elements the functions x^n*(x-1)*(x+1), and carrying out the integration numerically using MATLAB s quad() function. This function solves the problem u = - pi^2 * sin( pi * x ) for x in (-1,1), with boundary conditions u(-1) = u(1) = 0.
- 2011-12-02 06:06:55下载
- 积分:1
-
extract_path_2d
fast marching method
- 2010-10-14 12:15:41下载
- 积分:1
-
Imagesnrarea
IMAGE AREA Automatically measure the local contrast s performance and IMAGE SNR measures Signal to Noise Ratio in an image
- 2010-05-24 11:04:50下载
- 积分:1
-
Matlab-from-MIT-course
美国麻省理工的网上matlab课程学习,共分五个章节。(Massachusetts online the Matlab course of study is divided into five chapters.)
- 2013-01-23 11:28:42下载
- 积分:1
-
Linear-Networs
线性神经网络 Matlab程序
附加多个案例 适合神经网络入门(Linear Neural Network)
- 2015-04-20 15:06:20下载
- 积分:1