h2s
Convert hybrid h-parameters to S-parameters
Description
Examples
Convert H-Parameters to S-Parameters
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 h-parameters 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
Input Arguments
h_params
— 2-port hybrid h-parameters
2-by-2-by-M array of complex numbers
2-port hybrid h-parameters, specified as a 2-by-2-by-M array of complex numbers, where M represents the number of frequency points of 2-port hybrid h-parameters.
z0
— Reference impedance
50
(default) | positive real scalar
Reference impedance of 2-port S-parameters, specified as a positive real scalar in ohms.
Note
z0
can be a positive real scalar or vector. If z0
is a vector, then the vector must be equal to the number of network parameter data
points.
Output Arguments
s_params
— 2-port hybrid S-Parameters
2-by-2-by-M array of complex numbers
2-port S-parameters, returned as a 2-by-2-by-M array of complex numbers, where M represents the number of frequency points of 2-port S-Parameters.
Version History
Introduced before R2006a
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)