Skip to Main Content Skip to Search
Product Documentation

s2h - Convert S-parameters to hybrid h-parameters

Syntax

h_params = s2h(s_params,z0)

Description

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

Examples

Convert S-parameters to h-parameters:

%Define a matrix of S-parameters
s_11 = 0.61*exp(j*165/180*pi);
s_21 = 3.72*exp(j*59/180*pi);
s_12 = 0.05*exp(j*42/180*pi);
s_22 = 0.45*exp(j*(-48/180)*pi);
s_params = [s_11 s_12; s_21 s_22];
z0 = 50;
%Convert to h-parameters
h_params = s2h(s_params,z0)

See Also

h2s

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS