Engee documentation

z2h

Converts Z-parameters into hybrid h-parameters.

Library

EngeeRF

Syntax

Function call

Arguments

Input arguments

# z_params — dual-port Z-parameters

+ 2×2×M array of complex numbers

Details

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

Output arguments

# h_params — dual-port hybrid h-parameters

+ 2×2×M array of complex numbers

Details

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

Examples

Converting Z-parameters to h-parameters

Details

Let’s define a matrix of Z-parameters and convert them to h-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]

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