-
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
-
performance-of-multihop-with-fixed-relay
This program simulation performance of multihop with fixed relay and then compare direct link versus without direct link
- 2013-04-22 17:59:35下载
- 积分:1
-
zxecf
说明: 本人经过对最小二乘法拟合程序进行了归纳汇总编写了这个MATLAB小程序,一般情况都适用。(General least squares fitting procedure code)
- 2009-07-26 23:52:21下载
- 积分:1
-
fangxiangtu_ganrao
this code is about Generalize Side Lobe Canceller and very important in array processing.
- 2014-09-01 12:33:24下载
- 积分:1
-
KPMtools
在国外网站下载的关于卡尔曼滤波的matlab编程程序,供参考。(the Matlab program ,downloaded from a foreign website,is about Kalman Filter,just as a reference。)
- 2013-03-30 09:33:08下载
- 积分:1
-
diode
常用二极管的七种用法,里面有详细的介绍和分析。(Seven kinds of usage about diode,there is a detailed introduction and analysis.)
- 2013-10-31 20:21:13下载
- 积分:1
-
texture_extract
纹理提取的matlab 源代码, 研究图像处理算法的可参考(texture extraction of Matlab source code, image processing algorithm research of reference)
- 2006-06-01 13:04:46下载
- 积分:1
-
comp_next
computes the compositions of the integer N into K parts
- 2012-03-30 08:30:17下载
- 积分:1
-
matlab_learning
里面包含五个有关matlab的学习的资料,特别适合初学者使用。(a very good learning material of matlab learning.)
- 2012-04-23 09:05:16下载
- 积分:1
-
demorbpfdbn
Rao Blackwellised 粒子滤波在动态贝叶斯网络中的应用(Rao Blackwellised Particle Filtering for Dynamic Bayesian Networks)
- 2013-03-11 22:20:34下载
- 积分:1