www.gusucode.com > rf 案例源码程序 matlab代码 > rf/ReadAFileAsZparametersExtractZ11AndPlotExample.m
%% Read a File as Z-parameters, Extract Z11 and Plot % % %% Read defaultbandpass.s2p and convert to Z-parameters % % Copyright 2015 The MathWorks, Inc. Z = zparameters('defaultbandpass.s2p') %% Extract Z11 % z11 = rfparam(Z,1,1); %% Plot the imaginary part of Z11 % plot(Z.Frequencies, imag(z11))