Engee documentation

y2z

Converts Y-parameters to Z-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# y_params — N-port Y-parameters

+ N×N×M array

Details

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

Output arguments

# z_params — N-port Z-parameters

+ N×N×M array of complex numbers

Details

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

Examples

Converting Y-parameters to Z-parameters

Details

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

using EngeeRF

Y11 =  0.0488133074245012 - 0.390764155450191im
Y12 = -0.0488588365420561 + 0.390719345880018im
Y21 = -0.0487261119282660 + 0.390851884427087im
Y22 =  0.0487710062903760 - 0.390800401433241im
y_params = [Y11 Y12; Y21 Y22]

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