# abcd2y

Convert ABCD-parameters to Y-parameters

## Syntax

``y_params = abcd2y(abcd_params)``

## Description

example

````y_params = abcd2y(abcd_params)` converts the ABCD-parameters to the admittance parameters. For more information see, RF Network Parameter Objects.```

## Examples

collapse all

Define a matrix of 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 Y-parameters.

`y_params = abcd2y(abcd_params)`
```y_params = 2×2 complex 0.0488 - 0.3908i -0.0489 + 0.3907i -0.0487 + 0.3909i 0.0488 - 0.3908i ```

## Input 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-parameter 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 Y-Parameters, returned as a 2N-by-2N-by-M array of complex numbers, where M represents the number of frequency points of 2 N-port Y-parameters.