Engee documentation

abcd2y

Converts ABCD-parameters to Y-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# abcd_params — 2N-port ABCD-parameters

+ 2N×2N×M array of complex numbers

Details

2N-port ABCDparameters specified as an array of complex numbers of the size on on , where represents the number of frequency points of 2N-port ABCDparameters.

The function assumes that the matrices of ABCD-parameters have different submatrices , , and :

Output arguments

# y_params — 2N-port Y-parameters

+ 2N×2N×M array of complex numbers

Details

2N-port Y-parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points of the 2N-port Y-parameters.

Examples

Converting ABCD-parameters to Y-parameters

Details

We define the matrix of ABCD-parameters and convert them to Y-parameters.

import EngeeRF: abcd2y

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

y_params = abcd2y(abcd_params)
2×2 Matrix{ComplexF64}:
  0.0488133-0.390764im  -0.0488588+0.390719im
 -0.0487261+0.390852im    0.048771-0.3908im