%% Design Fifth Order Hairpin Filter
% Design a 5th order tapped input hairpin filter with a Chebyshev response at 1.8 GHz and a fractional bandwidth of 10 percent.

hpfilt = filterHairpin(FeedType='Tapped')
hpfilt.FilterOrder = 5;
hpfilt = design(hpfilt, 1.8e9,FBW=10,FilterType='Chebyshev');

% View the filter.

show(hpfilt);

% Copyright 2021 The MathWorks, Inc.