%% Fifth-Order Coupled Line Chebyshev Filter
%  Design and view a fifth-order coupled-line Chebyshev filter at 3 GHz with a ripple factor of 0.5 dB.

coupledfilter = filterCoupledLine(FilterOrder=5);
coupledfilter = design(coupledfilter,3e9,FilterType="Chebyshev",RippleFactor=0.5);
show(coupledfilter)

% Plot the current and charge distribution of this filter at 5 GHz.

figure
current(coupledfilter,5e9)
figure
charge(coupledfilter,5e9)

% Copyright 2020 The MathWorks, Inc.