-
EEE-212-lab-sheet
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:21:13下载
- 积分:1
-
DispFig_KF
接连惯性导航算法中,运用卡尔曼滤波算法的方程计算(Series of inertial navigation algorithm, using the equation of the Kalman filter algorithm)
- 2012-11-05 20:29:49下载
- 积分:1
-
wartODE
本代码是是基于离散余弦变化的数字水印算法,通过Matlab来实现。对学习水印有很大的帮助!(DCT)
- 2009-06-03 16:26:52下载
- 积分:1
-
greymodel
说明: 这是灰色GM(1,1)预测的源代码,只要你输入数据,就可以预测以后的数据,必要时可以修改程序(This is a gray GM (1,1) forecast of the source code, as long as you input data, the data can predict the future, if necessary, modify the program)
- 2009-08-15 20:46:41下载
- 积分:1
-
Gaussin-mixed
可以产生混合高斯信号信号的函数。自己可以调节混合信号的峭度。(Can produce mixed-Gaussian signal function. You can adjust the mixed signal kurtosis.)
- 2011-05-21 22:49:05下载
- 积分:1
-
nozzle-CODE
缩放喷管的计算code 使用matlab编写 参考书目 计算流体力学基础及其应用(laval nozzle code)
- 2012-07-21 10:06:43下载
- 积分:1
-
Astar_1
说明: 一种简单的A*寻路算法,可在命令行按要求输入相应起点和终点的坐标。适合于初学者(A simple A* algorithm for path planning, which can input the coordinates of the starting point and end point on the command line as required. It is suitable for beginners.)
- 2019-04-19 15:01:36下载
- 积分:1
-
fisherclassify
Fisher线性判别决策器,用在模式识别中(Fisher Linear Discriminant decision-making devices used in pattern recognition)
- 2009-12-09 22:08:30下载
- 积分:1
-
PSO-SampEn--ApproxiEN-RVM
PSO:粒子群优化算法,用C++和matlab两种语言实现的
RVM:相关向量机,比SVM更高级些
样本熵和近似熵:计算动态系统中时间序列的一个重要手段(PSO: PSO algorithm, using C++ and matlab realization of two languages
RVM: relevance vector machine, some more advanced than SVM
Sample entropy and approximate entropy: Calculating an important means of dynamic system in time series)
- 2014-11-02 21:00:54下载
- 积分:1
-
SIFT
经典的SIFT算法,实现高效高精度的图像匹配
matlab编写,内涵详尽注释,以及用法说明的txt文件,另加试验文件(Classic SIFT algorithm to achieve high efficiency and precision of image matching matlab prepared connotation detailed notes, as well as usage instructions txt file, plus a test file)
- 2014-01-03 19:59:09下载
- 积分:1