z2abcd
Converts Z-parameters to ABCD-parameters.
| Library |
|
Syntax
Function call
-
abcd_params = z2abcd(z_params)— converts Z-parametersz_paramsin ABCD, the parameters areabcd_params.
Arguments
Input arguments
# z_params — 2N-port Z-parameters
+
2N×2N×M array of complex numbers
Details
2N-port Z-parameters specified as an array of complex numbers of size on on , where represents the number of frequency points of the N-port Z-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 ABCD-parameters have different submatrices , , and :
Examples
Converting Z-parameters to ABCD-parameters
Details
Let’s define a matrix of Z-parameters and convert them to ABCD-parameters.
import EngeeRF: z2abcd
Z11 = -14567.2412789287 - 148373.315116592im
Z12 = -14588.1106171651 - 148388.583516562im
Z21 = -14528.0522132692 - 148350.705757767im
Z22 = -14548.5996561832 - 148363.457002006im
z_params = [Z11 Z12; Z21 Z22]
abcd_params = z2abcd(z_params)
2×2 Matrix{ComplexF64}:
1.00018-0.000246872im 0.315119+2.51998im
-6.53857e-7+6.67675e-6im 1.0001-0.000128853im