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

    %% Add Inductor to Circuit and Display Properties
% Add an inductor to a circuit, display the parent path and parent nodes.

% Copyright 2015 The MathWorks, Inc.


hL = inductor(3e-9,'L3n9');
hckt = circuit('example3');
add(hckt,[1 2],hL)
setports(hckt, [1 0],[2 0])
disp(hL)