# z2abcd

Convert Z-parameters to ABCD-parameters

## Syntax

``abcd_params = z2abcd(z_params)``

## Description

example

````abcd_params = z2abcd(z_params)` converts the Z-parameters to ABCD-parameters.```

## 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 Z-parameters 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 ```

## Input Arguments

collapse all

2N-port Z-parameters, specified as a 2N-by-2N-by-M array of complex numbers, where M represents the number of frequency points of N-port Z-parameters.

## Output Arguments

collapse all

2N-port- ABCD-parameters, specified as a 2N-by-2N-by-M array of complex numbers, where M represents the number of frequency points of 2N-port ABCD-parameters.

The function assumes that the 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]$`

## Version History

Introduced before R2006a