-
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
-
AC-Voltage-Controller
Three Phase Controlled AC Voltage Controller
- 2013-11-25 18:04:22下载
- 积分:1
-
bpskqpsk
BPSK、QPSK误码率matlab仿真(BPSK, QPSK BER simulation matlab)
- 2014-01-13 11:30:24下载
- 积分:1
-
changduanzhoujiance
联通区域的长短轴检测 适用于缺陷提取 长短轴比来确定缺陷的分类 非自带的MATLAB外界矩形的算法
- 2015-03-26 16:21:17下载
- 积分:1
-
11004192
Distributing advanced technique for the cockpit.
- 2020-06-22 13:20:02下载
- 积分:1
-
decimation_test
Decimation reduces the original sampling rate for a sequence to a lower rate, the opposite of interpolation. The decimation process filters the input data with a lowpass filter and then resamples the resulting smoothed signal at a lower rate.
- 2010-09-27 14:00:22下载
- 积分:1
-
zhao
说明: 追踪法制导模拟matlab编码。动态模拟。(Legal guide track simulation matlab code. Dynamic simulation.)
- 2011-04-08 15:12:38下载
- 积分:1
-
nfl
linear model nfl prediction
- 2014-12-13 04:30:10下载
- 积分:1
-
benlou
小波包分析提取振动信号中的特征频率,实现了图像的灰度化并进一步用于视频监视控,FIR 底通和带通滤波器和IIR 底通和带通滤波器。( Wavelet packet analysis to extract vibration signal characteristic frequency, Achieve a grayscale image and further control for video surveillance, Bottom-pass and band-pass FIR and IIR filter bottom pass and band-pass filter.)
- 2016-12-14 10:39:44下载
- 积分:1
-
eigenvalue_p1_2D
利用传统有限元方法计算二维possion 方程的特征值问题,网格采用的是三角网格,由matlab 的pdetool产生,一次多项式近似(Using traditional two-dimensional finite element method possion equation eigenvalue problem, the grid uses a triangular mesh is generated by the matlab pdetool, a polynomial approximation)
- 2014-12-30 16:30:17下载
- 积分:1