y2abcd
Converts Y-parameters to ABCD-parameters.
| Library |
|
Syntax
Function call
-
abcd_params = y2abcd(y_params)— converts Y-parametersy_paramsin ABCD, the parameters areabcd_params.
Arguments
Input arguments
# y_params — 2N-port Y-parameters
+
2N×2N×M array of complex numbers
Details
2N-port Y-parameters specified as an array of complex numbers of size on on , where represents the number of frequency points of the 2N-port Y-parameters.
Output arguments
# abcd_params — 2N-port ABCD-parameters
+
2N×2N×M array of complex numbers
Details
2N-port ABCD parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points of 2N-port ABCDparameters.
The output matrices of the ABCDparameters have different submatrices , , and :
Examples
Converting Y-parameters to ABCD-parameters
Details
Let’s define a matrix of Y-parameters and convert them to ABCD-parameters.
import EngeeRF: y2abcd
Y11 = 0.0488133074245012 - 0.390764155450191im
Y12 = -0.0488588365420561 + 0.390719345880018im
Y21 = -0.0487261119282660 + 0.390851884427087im
Y22 = 0.0487710062903760 - 0.390800401433241im
y_params = [Y11 Y12; Y21 Y22]
abcd_params=y2abcd(y_params)
2×2 Matrix{ComplexF64}:
0.999884+0.000129275im 0.314079+2.51936im
-6.56177e-7+6.67455e-6im 0.999806+0.000247231im