y2s
Convert Y-parameters to S-parameters
Description
Examples
Convert Y-Parameters to S-Parameters
Define a matrix of Y-parameters.
Y11 = 0.0488133074245012 - 0.390764155450191i; Y12 = -0.0488588365420561 + 0.390719345880018i; Y21 = -0.0487261119282660 + 0.390851884427087i; Y22 = 0.0487710062903760 - 0.390800401433241i; y_params = [Y11,Y12; Y21,Y22];
Convert Y-parameters to S-parameters.
s_params = y2s(y_params)
s_params = 2×2 complex
0.0038 + 0.0248i 0.9961 - 0.0250i
0.9964 - 0.0254i 0.0037 + 0.0249i
Input Arguments
y_params
— N-port Y-Parameters
N-by-N-by-M array
N-port Y-Parameters, specified as an N-by-N-by-M array, where M represents the number of frequency points of N-port Y-parameters.
z0
— Reference impedance
50
(default) | positive real scalar
Reference impedance of N-port S-parameters, specified as a positive real scalar in ohms.
Note
z0
must 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 or
frequency vector.
Output Arguments
s_params
— N-port- S-Parameters
complex N-by-N
M array
N-port- S-parameters, returned as a complex N-by-N M array, where M represents the number of frequency points of N-port S-parameters.
Version History
Introduced before R2006a
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)