%% Create Stepped Impedance Lowpass Filter with Multilayer Dielectric Substrate
% Create and view a stepped impedance lowpass filter with a multilayer dielectric substrate.

sub = dielectric("FR4","Teflon"); 
sub.Thickness =[0.003 0.001];
steppedfilter = filterStepImpedanceLowPass;
steppedfilter.Height = 0.003;
steppedfilter.Substrate = sub;
figure
show(steppedfilter)

% Plot the charge and current on the filter at 5 GHz.

figure
charge(steppedfilter,5e9)
figure
current(steppedfilter,5e9)
info(steppedfilter)

% Copyright 2020 The MathWorks, Inc.