-
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
-
MIMO-LDPC
MIMO-LDPC simulation
- 2015-01-25 02:39:01下载
- 积分:1
-
An-automated-method-for-estimating-reliability-of
An automated method for estimating reliability of grid systems
- 2015-02-26 20:58:55下载
- 积分:1
-
Q-Learning
最基础的Q学习代码,可以帮助初学者理解和使用Q学习算法(The most basic Q-learning code that can help beginners to understand and use the Q-learning algorithm)
- 2013-05-15 08:58:50下载
- 积分:1
-
LDPC
这个Matlab仿真程序实现LDPC低密度奇偶校验码(Low Density Parity Check)算法。适用于AWGN信道下(The Matlab simulation program to achieve low density parity check codes LDPC (Low Density Parity Check) algorithm. AWGN channel for)
- 2011-06-03 02:45:27下载
- 积分:1
-
RBF
redial bases function RBF in neural network
- 2013-05-14 16:13:06下载
- 积分:1
-
bp339
说明: 基本BP算法的Matlab程序,运行可以通过(basic algorithm Matlab, the running through)
- 2006-04-25 16:00:42下载
- 积分:1
-
beam_flection
The program uses a simple algorithm to calculate the deflection at each point of a cantilever beam subjected to arbitrary loading distribution, the program also calculates and plots the bending moment and shear force in the beam.
- 2014-02-25 15:11:15下载
- 积分:1
-
Amdemod
Amplitude Demodulation
- 2013-04-20 23:16:25下载
- 积分:1
-
xiehong
数学建模样本程序,可供联系使用,matlab程序(Code code code code code code program)
- 2013-12-17 10:33:49下载
- 积分:1