Main Content

# getz0

Get characteristic impedance of transmission line object

## Syntax

``z0 = getz0(txline)``

## Description

example

````z0 = getz0(txline)` returns the characteristic impedance `z0`, of a transmission line object `txline`.```

## Examples

collapse all

Create and analyze a two-wire network object.

` tx1=rfckt.twowire('Radius',7.5e-4)`
```tx1 = rfckt.twowire with properties: Radius: 7.5000e-04 Separation: 0.0016 MuR: 1 EpsilonR: 2.3000 LossTangent: 0 SigmaCond: Inf LineLength: 0.0100 StubMode: 'NotAStub' Termination: 'NotApplicable' nPort: 2 AnalyzedResult: [] Name: 'Two-Wire Transmission Line' ```
` analyze(tx1,1.9e9)`
```ans = rfckt.twowire with properties: Radius: 7.5000e-04 Separation: 0.0016 MuR: 1 EpsilonR: 2.3000 LossTangent: 0 SigmaCond: Inf LineLength: 0.0100 StubMode: 'NotAStub' Termination: 'NotApplicable' nPort: 2 AnalyzedResult: [1x1 rfdata.data] Name: 'Two-Wire Transmission Line' ```

Find the Z0 of the two-wire object.

` z0 = getz0(tx1)`
```z0 = 31.4212 ```

## Input Arguments

collapse all

Transmission lines object to analyze, specified as a `rfckt.txline` handle.

Example: `txline = rfckt.txline`;`getz0(txline)`. Calculates the characteristic impedance of the transmission line object with handle `txline`.

Data Types: `char` | `string`

## Output Arguments

collapse all

Characteristic impedance of the transmission line, returned as a complex scalar.

Data Types: `double`

## See Also

Introduced before R2006a

Download ebook