%% Filter with Transition Band
% Design an FIR lowpass filter of order 255 with a transition region between 0.25\pi and 0.3\pi. Use fvtool to display the magnitude and phase responses of the filter.

b = firls(255,[0 0.25 0.3 1],[1 1 0 0]);
fvtool(b,1,'OverlayedAnalysis','phase')

% Copyright 2015 The MathWorks, Inc.