Issues with getting capacitance using Interdigitalcapacitor both capacitance value and RF values.

1 Ansicht (letzte 30 Tage)
When runnign the following commands:
capacitor = interdigitalCapacitor(NumFingers=5,FingerLength=4500e-6,FingerWidth=332e-6,FingerSpacing=206e-6,FingerEdgeGap = 87e-6,TerminalStripWidth=330e-6,PortLineWidth=8000e-6,PortLineLength=pll,Height=20e-6,GroundPlaneWidth=1,Conductor=capacitor.Conductor)
capacitance(capacitor,10e9)
I do not get any values for the capcitance - not DC or RF..
Also, when i run it MATLAB window does not pruce any resuta and i cannot "stop" the run and have to kill the matlab process.

Antworten (1)

Sayan
Sayan am 6 Mai 2024
Hi Alkim Akyurtlu,
The "PortLineLength" and the "Conductor" properties are not properly defined in your "interdigitalCapacitor" object.
  • "PortLineLength" is assigned to "pll" which is not defined. It should be assigned with a scalar value.
  • "Conductor" should a "metal" object. However, it is assigned as "capacitor.Conductor" which is not a valid metal object.
You can refer to the following code snippet with modified values of "PortLineLength" and "Conductor".
%creating a conductor of 'copper'
m = metal('copper');
%Setting the "PortLineLength" to "0.01" and "Conductor" to "m"
capacitor = interdigitalCapacitor(NumFingers=5,FingerLength=4500e-6,FingerWidth=332e-6,FingerSpacing=206e-6,FingerEdgeGap = 87e-6,TerminalStripWidth=330e-6,PortLineWidth=8000e-6,PortLineLength=0.01,Height=20e-6,GroundPlaneWidth=1,Conductor=m);
capacitance(capacitor,10e9);
This runs for me and I get the following output.
You can further refer to the following documentation to know more on "interdigitalCapacitor".
Hope this helps in resolving the issue.

Kategorien

Mehr zu External Language Interfaces finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by