example4_6
于 2010-05-25 发布
文件大小:1KB
0 182
下载积分: 1
下载次数: 4
代码说明:
:滤波 fs=400 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=5 时间窗大小 t=0:ts:T (hf1=zeros(1,N) hf1(f=-B1)=1 y1=hf1.*fftshift(y) figure subplot(211) plot(f,abs(fftshift(y))/N,f,hf1, r-- ) axis([-fs/2,fs/2,0,1.2]) title( 原信号频谱 ) xlabel( f /Hz ) subplot(212) plot(f,abs(y1)/N) title( 低通滤波,截止频率90Hz ) xlabel( f /Hz ))
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
发表评论