-
function
简单的matlab程序,介绍符号函数的使用。(simple method of matlab)
- 2012-03-23 16:48:44下载
- 积分:1
-
naivebayes
这是以Iris数据集为例,用朴素bayes方法分类的程序.matlab编程(This is the Iris data set as an example, using the simple bayes methods of classification procedure. Matlab programming)
- 2009-07-10 14:55:57下载
- 积分:1
-
kmean
k mean for clustering in the matlab.cluster do in environment 3-dimontional.
- 2012-03-25 16:10:01下载
- 积分:1
-
Newmark-method
用Newmark 来计算地震反应谱,主要用地震动分析(With Newmark to calculate earthquake response spectrum, the main land vibration analysis
)
- 2012-05-28 19:55:10下载
- 积分:1
-
APF_Threelevel_SPWM_VolageControl
三电平的双闭环SPWM有源电力滤波器仿真(Three-level dual closed-loop SPWM active power filter simulation)
- 2013-05-18 21:07:49下载
- 积分:1
-
mallatChongou
用mallat分解与重构算法实现一维信号的分解和重构(Mallat decomposition and reconstruction algorithm used to achieve one-dimensional signal decomposition and reconstruction)
- 2011-01-07 12:50:24下载
- 积分:1
-
art1-code
解决ART1运行,实现matlab的ART1仿真实验(Solve ART1 run, to achieve the matlab simulation ART1)
- 2013-11-04 20:03:26下载
- 积分:1
-
neural-work
内含神经网络的一些程序以及相关matlab工具箱的使用方法。(It contains some procedures and related matlab neural network toolbox of usage.
)
- 2013-10-05 23:33:20下载
- 积分:1
-
MATLAB_Computational-Physics
matlab在计算物理中的应用(附带有相关程序)(Appliation of matlab in Computational Physics (with relative programs))
- 2013-04-09 13:13:06下载
- 积分: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