Engee documentation

z2y

Converts Z-parameters to Y-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# z_params — N-port Z-parameters

+ N×N×M array of complex numbers

Details

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

Output arguments

# y_params — N-port Y-parameters

+ N×N×M array of complex numbers

Details

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

Examples

Converting Z-parameters to Y-parameters

Details

Let’s define a matrix of Z-parameters and convert them to Y-parameters.

using EngeeRF

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]

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