www.gusucode.com > signal 案例源码程序 matlab代码 > signal/FIRBandpassFilterExample.m
%% FIR Bandpass Filter % Design a 48th-order FIR bandpass filter with passband % $0.35\pi\le\omega\le0.65\pi$ rad/sample. Visualize its magnitude and % phase responses. % Copyright 2015 The MathWorks, Inc. %% b = fir1(48,[0.35 0.65]); freqz(b,1,512)