Main Content

z2s

Convert Z-parameters to S-parameters

Description

example

s_params = z2s(z_params,z0) converts the Z-parameters to the S-parameters.

Examples

collapse all

Define a matrix of Z-parameters.

Z11 = -14567.2412789287 - 148373.315116592i;
Z12 = -14588.1106171651 - 148388.583516562i;
Z21 = -14528.0522132692 - 148350.705757767i;
Z22 = -14548.5996561832 - 148363.457002006i;
z_params = [Z11,Z12; Z21,Z22];

Convert Z-parameters to S-parameters.

s_params = z2s(z_params)
s_params = 2×2 complex

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

Input Arguments

collapse all

N-port Z-parameters, specified as an N-by-N-by-M array of complex numbers, where M represents the number of frequency points of N-port Z-parameters.

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

collapse all

N-port S-parameters, returned as a N-by-N-by-M array of complex numbers, where M representing number of frequency points of N-port S-parameters.

See Also

| | |

Introduced before R2006a