www.gusucode.com > rf 案例源码程序 matlab代码 > rf/CreateAndExtractSparametersOfInductorExample.m
%% Create and Extract S-parameters of Inductor % Create an inductor object and extract the s-parameters of this inductor. % Copyright 2015 The MathWorks, Inc. hL = inductor(3e-9,'L3nh'); hckt = circuit('example2'); add(hckt,[1 2],hL) setports (hckt, [1 0],[2 0]) freq = linspace (1e3,2e3,100); S = sparameters(hckt,freq); disp(S)