# abcd2z

Convert ABCD-parameters to Z-parameters

## Syntax

``z_params = abcd2z(abcd_params)``

## Description

example

````z_params = abcd2z(abcd_params)` converts the ABCD-parameters to the impedance parameters. ```

## Examples

collapse all

Define a matrix for ABCD-parameters.

```A = 0.999884396265344 + 0.000129274757618717i; B = 0.314079483671772 + 2.51935878310427i; C = -6.56176712108866e-007 + 6.67455405306704e-006i; D = 0.999806365547959 + 0.000247230611054075i; abcd_params = [A,B; C,D];```

Convert ABCD-parameters to Z-parameters.

`z_params = abcd2z(abcd_params)`
```z_params = 2×2 complex 105 × -0.1457 - 1.4837i -0.1453 - 1.4835i -0.1459 - 1.4839i -0.1455 - 1.4836i ```

## Input Arguments

collapse all

2N-port- ABCD-parameters, specified as a 2N-by-2N-by-M array of complex numbers, where M representing 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]$`

## Output Arguments

collapse all

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

## Version History

Introduced before R2006a