%% Calculate S-parameters for Wilkinson Power Splitter
% Create a Wilkinson power splitter object.

rfpcbobj = wilkinsonSplitter;

% Calculate the S-parameters for the Wilkinson power splitter at 2.4 GHz with the reference impedance of 50 ohms.

Sobj = sparameters(wilkinsonSplitter,2.4e9,50);

% Plot the S-parameters using the rfplot function.

rfplot(Sobj)

% Copyright 2020 The MathWorks, Inc.