Engee documentation

abcd2z

Converts ABCD-parameters to Z-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# abcd_params — N-port ABCDparameters

+ 2N×2N×M array

Details

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

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

Output arguments

# z_params — 2N-port Z-parameters

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

Details

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

Examples

Converting ABCD-parameters to Z-parameters

Details

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

import EngeeRF: abcd2z

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]

z_params = abcd2z(abcd_params)
2×2 Matrix{ComplexF64}:
 -14567.2-1.48373e5im  -14528.1-1.48351e5im
 -14588.1-1.48389e5im  -14548.6-1.48363e5im