-
fifth
Grade Calculating Software
- 2011-05-21 05:08:52下载
- 积分:1
-
gen_algorithm
利用MATLAB实现遗传算法对非线性问题的求解,进行迭代计算(Genetic algorithms using MATLAB for solving nonlinear problems, iterative calculation)
- 2015-03-03 15:54:10下载
- 积分:1
-
计算信号的希尔伯特变换的simpleHilbert
这个程序是计算信号的希尔伯特变换的,求信号瞬时相位,瞬时频率(This program is to calculate the signal of Hilbert transform, the signal instantaneous phase, instantaneous frequency)
- 2020-07-19 15:58:48下载
- 积分: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
-
xt_connlimit
netfilter module to limit the number of parallel tcp connections per IP address.
- 2014-08-24 11:48:41下载
- 积分:1
-
knnsearch
KNN classifiers,
training is training set, testing is test set,
D is the distance, D=1 is mandistance D=2 is 欧氏距离 D=3是 infinite norm
K is the number of selected neighbors
- 2010-05-14 18:48:54下载
- 积分:1
-
3x3-neighbor-pixel
Description
All the filters have needed neighbor data the current pixel in the image,here this function(res_window=cover_window(how many neighbor value for row ,how many neighbor value for column ,input image) produce the result( res_window(row,col,total size))
input
inp_img=2d data(row * col)
w=cover size
w=[3 3] = 3x3 cover pixel generation
output
o_img=result 3d
o_img(w(1),w(2),r*col)
if
inp_img=[1 2 3 4 5 6 ]
w=[3 3]
Soloution
it will construct new image
new_img=[0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]
result
o_img(:,:,1)=[0 0 0 0 1 2 0 4 5]
o_img(:,:,2)=[0 0 0 1 2 3 4 5 6]
finally
o_img(1:3,1:3,6)
example
a=imread( pears.png )
b=rgb2gray(a)
c=cover_window( b,[3 3]) 3x3 window construction
- 2014-10-24 17:14:14下载
- 积分:1
-
Extracting-Embedded-Images-From-An-Assembly---Cod
Articulo de Josh Smith, sobre como extraer imagenes embebidas en ficheros
- 2014-11-26 22:47:07下载
- 积分:1
-
BluetoothVoice_matsim
The Bluetooth Voice model makes extensive use of frame based processing in Simulink, which can propagate large frames of samples at each execution step allowing for much faster simulation of digital systems.
- 2014-01-19 13:40:19下载
- 积分:1
-
testNUFFT15f16
编写的一维非均匀傅里叶变换代码。不需要使用mex编译c文件或fortran文件。通过代码可了解NUFFT的技术细节。(One dimensional non-uniform Fourier transform code written. There is no need to use mex to compile C files or FORTRAN files. You can understand the technical details of NUFFT through code.)
- 2020-12-04 11:09:24下载
- 积分:1