Identify nodes from terminals in circuit object

2 次查看(过去 30 天)
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)

采纳的回答

Luis
Luis 2022-5-17
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Circuits and Systems 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by