%% 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.

b = fir1(48,[0.35 0.65]);
freqz(b,1,512)

% Copyright 2015 The MathWorks, Inc.