Identify nodes from terminals in circuit object

2 views (last 30 days)
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

Luis
Luis on 17 May 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

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!