MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】请教fir2函数的使用 (https://www.labfans.com/bbs/showthread.php?t=43)

viking 2007-04-10 11:07

【求助】请教fir2函数的使用
 
我现在有个放大后的图象需要设计一个fir2的滤波器把插入的0值滤掉,求教怎么使用fir2 函数。谢谢!

viking 2007-04-16 10:16

哎 ~
 
我的希望破灭了!还是没有解决啊!:confused:

fzk2007 2007-04-18 22:25

例子:
设计一个30阶低通滤波器并画出频率响应图
f = [0 0.6 0.6 1]; m = [1 1 0 0];
b = fir2(30,f,m);
[h,w] = freqz(b,1,128);
plot(f,m,w/pi,abs(h))
legend('Ideal','fir2 Designed')
title('Comparison of Frequency Response Magnitudes')


所有时间均为北京时间。现在的时间是 08:54

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.