# z2abcd

Convert Z-parameters to ABCD-parameters

## Syntax

```abcd_params = z2abcd(z_params) ```

## Description

`abcd_params = z2abcd(z_params)` converts the impedance parameters `z_params` into the ABCD-parameters `abcd_params`. The `z_params` input is a complex 2N-by-2N-by-M array, representing M 2N-port Z-parameters. `abcd_params` is a complex 2N-by-2N-by-M array, representing M 2N-port ABCD-parameters. The output ABCD-parameters matrices have distinct A, B, C, and D submatrices:

`$\left[\begin{array}{cc}\left[A\right]& \left[B\right]\\ \left[C\right]& \left[D\right]\end{array}\right]$`

## Examples

collapse all

Define a matrix of Z-parameters.

```Z11 = -14567.2412789287 - 148373.315116592i; Z12 = -14588.1106171651 - 148388.583516562i; Z21 = -14528.0522132692 - 148350.705757767i; Z22 = -14548.5996561832 - 148363.457002006i; z_params = [Z11,Z12; Z21,Z22];```

Convert to abcd-parameters

`abcd_params = z2abcd(z_params)`
```abcd_params = 2×2 complex 1.0002 - 0.0002i 0.3151 + 2.5200i -0.0000 + 0.0000i 1.0001 - 0.0001i ```

## Alternatives

You can also use network parameter objects to perform network parameter conversions. For more information, see RF Network Parameter Objects.