h2s

Convert hybrid h-parameters to S-parameters

Syntax

s_params = h2s(h_params,z0)

Description

s_params = h2s(h_params,z0) converts the hybrid parameters h_params into the scattering parameters s_params. The h_params input is a complex 2-by-2-by-M array, representing M 2-port hybrid h-parameters. z0 is the reference impedance; its default is 50 ohms. s_params is a complex 2-by-2-by-M array, representing M 2-port S-parameters.

Examples

collapse all

Define a matrix of h-parameters.

h_11 =      0.314441556185771 +      2.51960941000598i;
h_12 =      0.999823389146385 -  0.000246785162909241i;
h_21 =     -1.000115600382660 -  0.000129304649930592i;
h_22 = -6.55389515512306e-007 + 6.67541048071651e-006i;
h_params = [h_11,h_12; h_21,h_22];

Convert to S-parameters.

s_params = h2s(h_params)
s_params = 2×2 complex

   0.0037 + 0.0248i   0.9961 - 0.0254i
   0.9964 - 0.0250i   0.0038 + 0.0249i

Alternatives

You can also use network parameter objects to perform network parameter conversions. For more information, see RF Network Parameter Objects.

See Also

| | | | |

Introduced before R2006a