www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/ButterworthBandpassFilterExample.m
%% Butterworth Bandpass Filter % Design an IIR Butterworth filter of order 10 with 3-dB frequencies of 1 % and 1.2 kHz. The sample rate is 10 kHz. Visualize the frequency response % of the filter. d = fdesign.bandpass('N,F3dB1,F3dB2',10,1e3,1.2e3,1e4); Hd = design(d,'butter'); fvtool(Hd)