Main Content

capacitance

Calculate capacitance

Since R2021b

Description

capacitance(object,frequency) calculates and plots the capacitance of a capacitor over the specified frequency.

c = capacitance(object,frequency) calculates the capacitance of a capacitor over the specified frequency.

example

capacitance(___,Name=Value) calculates the capacitance with additional options specified using name-value arguments.

Examples

collapse all

Create an interdigital capacitor using default properties.

capacitor = interdigitalCapacitor
capacitor = 
  interdigitalCapacitor with properties:

            NumFingers: 4
          FingerLength: 0.0137
           FingerWidth: 3.1600e-04
         FingerSpacing: 3.0000e-04
         FingerEdgeGap: 3.4100e-04
    TerminalStripWidth: 5.0000e-04
         PortLineWidth: 0.0019
        PortLineLength: 0.0030
                Height: 7.8700e-04
      GroundPlaneWidth: 0.0030
             Substrate: [1x1 dielectric]
             Conductor: [1x1 metal]
            SolverType: 'MoM'
            IsShielded: 0

Calculate the capacitance of the capacitor at 8 GHz.

capacitance(capacitor,8e9,DeEmbed=1,IncludeParasitics=1)

Figure contains an axes object. The axes object with title Capacitance, xlabel Frequency(GHz), ylabel Capacitance(pF) contains a line object which displays its values using only markers.

Input Arguments

collapse all

Interdigital capacitor, specified as an interdigitalCapacitor object.

Data Types: char | string

Frequency to calculate the capacitance in hertz, specified as a nonnegative scalar or vector of nonnegative elements.

Data Types: double

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: DeEmbed=1

Dembed feeder line, specified as 0 or 1. When you specify 1, the function deembeds the feeder line.

Include parasitic effects, specified as 0 or 1. When you specify 1, the function includes the parasitic effects.

Input and output line impedance to feed the capacitor, specified as a positive scalar in ohms.

Output Arguments

collapse all

Capacitance of the capacitor, returned as a scalar or vector in farads.

Data Types: double

Version History

Introduced in R2021b

See Also