y2s - Convert Y-parameters to S-parameters
Syntax
s_params = y2s(y_params,z0)
Description
s_params = y2s(y_params,z0) converts
the admittance parameters y_params into the scattering
parameters s_params. The y_params input
is a complex N-by-N-by-M array, representing M N-port
Y-parameters. z0 is the reference impedance. The
default value of is z0 50 ohms. s_params is
a complex N-by-N-by-M array, representing M N-port
S-parameters.
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 to S-parameters
s_params = y2s(y_params);
See Also
abcd2s | h2s | s2y | y2abcd | y2h | y2s | y2z | z2s
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit