-
myaa
Add myaa.m to your path and enjoy anti-aliased professionally looking graphics in Matlab at any time. Myaa works with any kind of graphic (3-D, plots, scatterplots, ...) and even adds anti-aliasing to text, ui controls and grids. Myaa is ideal for complex, cluttered and saturated plots.
- 2010-07-19 22:16:39下载
- 积分:1
-
BME
This code describes the blind channel estimation problem for the estimation of different estimation schmes.
- 2012-02-04 16:57:40下载
- 积分: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
-
iriscode
iris recognition matlab application
- 2010-01-29 21:07:30下载
- 积分:1
-
FSWT
频率切片小波变换程序(FTWT),matlab的m文件。从一种新的角度出发,通过自由选择频率切片函数、引进新尺度参数,在频率域实现小波变换,该变换能够很好地刻画信号各成分之间的相对能量关系。此外,频率切片小波变换的时频窗中心频率就是观测频率,而无需进行尺度换算。(Frequency slice wavelet transform procedures (FTWT), matlab m file. Starting from a new angle, through freely chosen frequency slice function, the introduction of a new scale parameter, the wavelet transform in the frequency domain, the transformation can portray the relative energy relations between the components of the signal. In addition, the frequency slice wavelet transform frequency is the observation of the time-frequency window center frequency without scale translation.)
- 2021-03-25 14:59:14下载
- 积分:1
-
11
说明: empirical formula with kaiser
clc
clear all
fs=1000
fc=250
df=50
r=0.001
f=fc/fs
dw=2*pi*(df/fs)
a=-20*log(r)
n=floor(((a-8)/(2.285*dw))+1)
if a>50
b=0.1102*(a-8.7)
elseif a>=21 && a<=50
b=0.5842*((a-21)^0.4)+0.07886*(a-21)
elseif a<21
b=0.0
end
w=kaiser(n,b)
for i=1:n
if i~=(n-1)/2
hd(i)= (2*f*sin((i-((n-1)/2))*2*pi*f))/((i-((n-1)/2))*2*pi*f)
elseif i==(n-1)/2
hd(i)=2*f
end
end
for j=1:n
h(j)=w(j)*hd(j)
end
subplot(3,1,1), plot(w)
subplot(3,1,2), plot(h)
subplot(3,1,3), plot(h,n)
- 2014-12-24 23:20:03下载
- 积分:1
-
PVmodule
基于MATLAB中的SIMULINK的一个非常好的太阳能PV模块,输入为电压输出为电流(base on simulink of matlab,it is a good module of photovotics)
- 2011-12-05 17:12:55下载
- 积分:1
-
M文件1
说明: 通过编程得到正交的1egendre(N)函数序列(Orthogonal sequence of Legendre (N) functions obtained by programming)
- 2020-06-24 16:00:01下载
- 积分:1
-
ACL
Rutines to analize the ACL of one dimention, generate ACL of variable neighborhood radius, claculate bruijn diagram, Generate subset matrix
acl.mat -> Graf a Celular Autoamta L=1
bruijn.mat -> Generate bruijn diagram and the bruijn matrix
invbruijn.mat -> Se le pasa la matriz de evo y el saca los parametros (el inverso)
subconjuntos.mat -> Generate subset matrix
invsubcon.mat -> Generate the inverse of subset matrix
parejas.mat ->Generate the couple matrix
anteriores"
(Rutines to analize the ACL of one dimention, generate ACL of variable neighborhood radius, claculate bruijn diagram, Generate subset matrix
acl.mat-> Graf a Celular Autoamta L=1
bruijn.mat -> Generate bruijn diagram and the bruijn matrix
invbruijn.mat-> Se le pasa la matriz de evo y el saca los parametros (el inverso)
subconjuntos.mat -> Generate subset matrix
invsubcon.mat -> Generate the inverse of subset matrix
parejas.mat ->Generate the couple matrix
anteriores"
)
- 2009-11-21 02:49:58下载
- 积分:1
-
kmeans
K-means聚类算法,参加模式识别第二版 清华大学出版社(K-means clustering algorithm, to participate in pattern recognition, the second edition of Tsinghua University Press)
- 2012-09-08 21:21:21下载
- 积分:1