Engee documentation

abcd2h

Converts ABCD-parameters into hybrid h-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# abcd_params — two- port ABCD-parameters

+ 2×2×M array of complex numbers

Details

Two-port ABCD parameters specified as an array of complex numbers of the size on on , where represents the number of frequency points of two-port ABCDparameters.

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

Output arguments

# h_params — dual-port hybrid h-parameters

+ 2×2×M array of complex numbers

Details

Dual-port hybrid h-parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points of two-port inverse hybrid h-parameters.

Examples

Converting ABCD-parameters to h-parameters

Details

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

import EngeeRF: abcd2h

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]

h_params = abcd2h(abcd_params)
2×2 Matrix{ComplexF64}:
 0.314763+2.51977im         0.999901+0.000128827im
 -1.00019+0.000247326im  -6.54653e-7+6.67601e-6im