Identify nodes from terminals in circuit object
Show older comments
Consider a simple RF Toolbox circuit object:
ckt1 = circuit('example_circuit1');
add(ckt1,[2 3],resistor(50))
add(ckt1,[3 1],capacitor(1e-9))
Two elements, three nodes as follow:

The problem is: when creating ports, mapping between nodes and ports can't be known just from the object. Ports can be created using:
setports(ckt1,[3 1],[1 2])

OR, a different circuit topology by defining different ports:
setports(ckt1,[2 3],[1 2])

How to know the topology from the object after creation??? (i.e. when I receive the circuit object as a result of impedance matching)
Accepted Answer
More Answers (0)
Categories
Find more on Matching Network Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!