# rlgc

Compute resistances, inductances, conductances, and capacitances

Since R2022b

## Syntax

``rlgcparams = rlgc(txline,frequency)``

## Description

example

````rlgcparams = rlgc(txline,frequency)` returns the resistances, inductances (L), conductances (G), and capacitances per unit length of a transmission line at the specified frequency.```

## Examples

collapse all

Create a microstrip transmission line using a copper conductor.

```txline = microstripLine; txline.Conductor.Name = 'Copper'; txline.Conductor.Conductivity = 5.8e7; txline.Conductor.Thickness = 0.001;```

Calculate the RLGC values of microstrip transmission line at 1 GHz.

```freq = 1e9; RLGCparams = rlgc(txline,freq)```
```RLGCparams = struct with fields: R: 1.4649 L: 2.0565e-07 G: 9.6413e-05 C: 9.5171e-11 ```

## Input Arguments

collapse all

Transmission line, specified as a `coupledMicrostripLine`, `microstripLine`, or `microstripLineCustom` object.

Example: ```txline = microstripLine```;`rlgc(txline)` calculates the RLGC values of the microstrip transmission line object with handle `txline`.

Data Types: `char` | `string`

Frequency to calculate the RLGC values, specified as an integer in Hz.

## Output Arguments

collapse all

RLGC values line per unit length of the transmission line, returned as a structure with field names for the R, L, G, and C values. Each field contains an n-by-n double precision matrix where n is the total number of traces in the transmission line object. Diagonal and nondiagonal entries in the matrix are self and coupled elements in the traces, respectively.

## Version History

Introduced in R2022b