www.gusucode.com > rf 案例源码程序 matlab代码 > rf/PlotUsingRfplotExample.m

    %% Plot S-Parameter Data Using rfplot
% 
%% Create S-parameter
%

% Copyright 2015 The MathWorks, Inc.

hs = sparameters('default.s2p');
%% Plot all S-paramteres
%
figure;
rfplot(hs)
%% Plot S21
%
figure;
rfplot(hs,2,1)
%% Plot the angle of S21 in degrees
%
rfplot(hs,2,1,'angle')
%% Plot the real part of S21
%
rfplot(hs,2,1,'real')