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

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.

Answers (1)

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.

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 29 Apr 2024

Answered:

on 6 May 2024

Community Treasure Hunt

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

Start Hunting!