Identify nodes from terminals in circuit object
Afficher commentaires plus anciens
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)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Circuits and Systems dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!