# getZ0

Calculate characteristic impedance with and without dispersion for transmission line

Since R2020b

## Syntax

``z0_f = getZ0(txline,freq)``
``[z0,eff_ep] = getZ0(txline)``
``[z0_f,eff_epf] = getZ0(txline,freq)``

## Description

example

````z0_f = getZ0(txline,freq)` returns the characteristic impedance with dispersion for a transmission line at the specified frequency.```

example

````[z0,eff_ep] = getZ0(txline)` returns the characteristic impedance and effective epsilon without dispersion for a microstrip or coplanar waveguide (CPW) transmission line.```

example

````[z0_f,eff_epf] = getZ0(txline,freq)`returns the characteristic impedance and effective epsilon with dispersion for a microstrip or CPW transmission line at the specified frequency.```

## Examples

collapse all

Create a coaxial transmission line.

```txline = txlineCoaxial('OuterRadius',1.47e-3,'InnerRadius',0.45e-3,... 'EpsilonR',3.4,'SigmaCond',5.8e7);```

Calculate the characteristic impedance with dispersion for the coaxial transmission line at at the frequency of `6` GHz.

`z0_f = getZ0(txline,6e9)`
```z0_f = 38.4927 - 0.0201i ```

Create a microstrip transmission line.

```txline_morcpw = txlineMicrostrip('Width',4.78e-3,'Height',1.57e-3,... 'LineLength',12.2777e-3,'Thickness',0.003e-3,'EpsilonR',2.2,'SigmaCond',5.88e7);```

Calculate the characteristic impedance and effective epsilon with dispersion for the microstrip transmission line for a frequency range of 6–7 GHz.

`[z0_f,eff_ep_f] = getZ0(txline_morcpw,6e9:0.2e9:7e9)`
```z0_f = 6×1 52.4097 52.4822 52.5546 52.6270 52.6994 52.7716 ```
```eff_ep_f = 6×1 1.9106 1.9123 1.9139 1.9156 1.9173 1.9189 ```

Create a coplanar waveguide (CPW) transmission line.

```txline_morcpw = txlineCPW('ConductorWidth',45e-6,'SlotWidth',50e-6,'Height',525e-6,... 'Thickness',1e-6,'EpsilonR',2.5,'SigmaCond',3.33e7);```

Calculate the characteristic impedance and effective epsilon of the CPW transmission line.

`[z0,eff_ep] = getZ0(txline_morcpw)`
```z0 = 116.8647 ```
```eff_ep = 1.7303 ```

## Input Arguments

collapse all

Transmission line, specified as one of the following transmission line objects:

Design frequency, specified as a positive scalar or vector in hertz.

## Output Arguments

collapse all

Characteristic impedance without the effect of dispersion, returned as a complex scalar.

Data Types: `double`

Characteristic impedance with the effect of dispersion for a microstrip or CPW transmission line, returned as a vector.

Data Types: `double`

Effective epsilon without the effect of dispersion for a microstrip or CPW transmission line, returned as a scalar.

Data Types: `double`

Effective epsilon with the effect of dispersion for a microstrip or CPW transmission line, returned as a scalar or vector.

Data Types: `double`

## Version History

Introduced in R2020b

expand all