-
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
-
MATLAB-Highpass-filter
基于matlab的 高通滤波器类别, 设计方法,应用等。(matlab highpass filter)
- 2011-12-20 11:19:33下载
- 积分:1
-
Qpskv3prof
Another example of a gmsk modulation in simulink(matlab)
- 2009-06-01 00:14:43下载
- 积分:1
-
Shannon
Shannon编码程序。解决信号矢量问题。(Shannon coding procedures. Solve the problem of signal vector)
- 2012-05-07 14:57:18下载
- 积分:1
-
Bland-Altman
用matlab编写的进行Bland-Altman统计分析的程序。(A program using matlab for Bland-Altman statistical analysis.)
- 2013-09-14 15:21:04下载
- 积分:1
-
fiberfwm
基于HNLF的全光逻辑与门主程序,光纤中的四波混频过程的matlab数值模拟仿真代码。(HNLF-based all-optical logic gates main program, fiber four-wave mixing process matlab numerical simulation codes.)
- 2020-07-10 16:18:55下载
- 积分:1
-
FEM2
finite element method
- 2010-01-20 12:56:03下载
- 积分:1
-
RearchofDVC
分布式视频编码的研究,对初学者是一个不可多得的好教材(Distributed Video Coding for beginners is a rare good teaching material)
- 2010-02-26 13:27:11下载
- 积分:1
-
Adaptive-MMSE-filter
数字信号处理 一阶自适应最小均方误差预测滤波器(Digital signal processing first-order adaptive minimum mean square error of prediction filter)
- 2011-08-09 20:15:06下载
- 积分:1
-
PSO
基于粒子群算法的pid控制,MATLAB仿真(Based on Particle Swarm Optimization pid control, MATLAB simulation)
- 2014-11-20 08:34:45下载
- 积分:1