www.gusucode.com > rf 案例源码程序 matlab代码 > rf/AddElementToSpecificNodesOfCircuitExample.m
%% Add Element to Specific Nodes of Circuit % Create a capacitor. hC2 = capacitor(1e-10) disp(hC2) %% % Connect terminal *n* of the capacitor to node 3 and terminal *p* % of the capacitor to node 4. hckt2 = circuit('new_circuit2'); add(hckt2,[3 4],hC2,{'n' 'p'}) disp(hckt2)