Filter löschen
Filter löschen

Identify nodes from terminals in circuit object

13 Ansichten (letzte 30 Tage)
Luis
Luis am 12 Mai 2022
Beantwortet: Luis am 17 Mai 2022
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)

Akzeptierte Antwort

Luis
Luis am 17 Mai 2022
In case somebody has the same problem: I found an easy solution for the specific case of impedance matching: you can use the "Matching Network Designer", either directly to generate the networks, or to analyse a matching network result:
mnobj = matchingnetwork(..); %whatever the configuration is
matchingNetworkDesigner(mnobj) % analyse results in the app

Weitere Antworten (0)

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by