h2z
Converts hybrid h-parameters to Z-parameters.
| Library |
|
Arguments
Input arguments
# h_params — dual-port hybrid h-parameters
+
2×2×M array of complex numbers
Details
Dual-port hybrid h-parameters specified as an array of complex numbers of the size on on , where represents the number of frequency points of two-port hybrid h-parameters.
Output arguments
# z_params — dual-port Z-parameters
+
2×2×M array of complex numbers
Details
Two-port Z-parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points of the two-port Z-parameters.
Examples
Converting h-parameters to Z-parameters
Details
Let’s define a matrix of h-parameters and convert them to Z-parameters.
using EngeeRF
h_11 = 0.314441556185771 + 2.51960941000598im
h_12 = 0.999823389146385 - 0.000246785162909241im
h_21 = -1.000115600382660 - 0.000129304649930592im
h_22 = -6.55389515512306e-007 + 6.67541048071651e-006im
h_params = [h_11 h_12; h_21 h_22]
z_params=h2z(h_params)
2×2 Matrix{ComplexF64}:
-14583.5-148360.0im -14601.3-1.48344e5im
-14549.7-1.48392e5im -14567.2-1.48373e5im