# y2abcd

Convert Y-parameters to ABCD-parameters

## Syntax

``abcd_params = y2abcd(y_params)``

## Description

example

````abcd_params = y2abcd(y_params)` converts Y-parameters to ABCD-parameters.```

## Examples

collapse all

Define a matrix of Y-parameters.

```Y11 = 0.0488133074245012 - 0.390764155450191i; Y12 = -0.0488588365420561 + 0.390719345880018i; Y21 = -0.0487261119282660 + 0.390851884427087i; Y22 = 0.0487710062903760 - 0.390800401433241i; y_params = [Y11,Y12; Y21,Y22];```

Convert Y-parameters to ABCD-parameters.

`abcd_params = y2abcd(y_params)`
```abcd_params = 2×2 complex 0.9999 + 0.0001i 0.3141 + 2.5194i -0.0000 + 0.0000i 0.9998 + 0.0002i ```

## Input Arguments

collapse all

2N-port Y-Parameters, specified as an 2N-by-2N-by-M array, where M represents the number of frequency points of 2N-port Y-parameters.

## Output Arguments

collapse all

2N-port- ABCD-parameters, specified as a complex 2N-by-2N-by-M array, 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