h2y
Converts hybrid h-parameters to Y-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
# y_params — two- port Y-parameters
+
2×2×M array of complex numbers
Details
Two-port Y-parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points of the two-port Y-parameters.
Examples
Converting h-parameters to Y-parameters
Details
Let’s define a matrix of h-parameters and convert them to Y-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]
y_params=h2y(h_params)
2×2 Matrix{ComplexF64}:
0.048771-0.3908im -0.0486659+0.390743im
-0.0488272+0.390839im 0.0487214-0.390776im