This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

s2scd

Convert 4-port, single-ended S-parameters to 2-port, cross-mode S-parameters (Scd)

Syntax

scd_params = s2scd(s_params)
scd_params = s2scd(s_params,option)

Description

scd_params = s2scd(s_params) converts the 2N-port, single-ended S-parameters, s_params, to N-port, cross-mode S-parameters, scd_params. scd_params is a complex N-by-N-by-M array that represents M N-port, cross-mode S-parameters (Scd).

scd_params = s2scd(s_params,option) converts S-parameters based on the optional option argument, which indicates the port-ordering convention of the S-parameters.

Input Arguments

collapse all

S-parameters, specified as a complex 4-by-4-by-M array, that represents M 4-port S-parameters.

Port order, specified as 1, 2, 3, determines how the function orders the ports:

  • 1s2scd pairs the odd-numbered ports together first, followed by the even-numbered ports. For example, in a single-ended, 8-port network:

    • Ports 1 and 3 become cross-mode pair 1.

    • Ports 5 and 7 become cross-mode pair 2.

    • Ports 2 and 4 become cross-mode pair 3.

    • Ports 6 and 8 become cross-mode pair 4.

    The following figure illustrates this convention for an 8-port device.

  • 2s2scd pairs the input and output ports in ascending order. For example, in a single-ended, 8-port network:

    • Ports 1 and 2 become cross-mode pair 1.

    • Ports 3 and 4 become cross-mode pair 2.

    • Ports 5 and 6 become cross-mode pair 3.

    • Ports 7 and 8 become cross-mode pair 4.

    The following figure illustrates this convention for an 8-port device.

  • 3s2scd pairs the input ports in ascending order and the output ports in descending order. For example, in a single-ended, 8-port network:

    • Ports 1 and 2 become cross-mode pair 1.

    • Ports 3 and 4 become cross-mode pair 2.

    • Ports 8 and 7 become cross-mode pair 3.

    • Ports 6 and 5 become cross-mode pair 4.

    The following figure illustrates this convention for an 8-port device.

Examples

collapse all

Convert network data to cross-mode S-parameters using the default port ordering.

 ckt = read(rfckt.passive,'default.s4p'); 
 s4p = ckt.NetworkData.Data; 
 s_cd = s2scd(s4p);
 s_cd_new = s_cd(1:5)
s_cd_new = 1×5 complex

   0.0015 - 0.0029i   0.0003 - 0.0009i  -0.0005 + 0.0014i   0.0019 - 0.0027i   0.0030 - 0.0019i

References

Fan, W., A. C. W. Lu, L. L. Wai, and B. K. Lok. “Mixed-Mode S-Parameter Characterization of Differential Structures.” Electronic Packaging Technology Conference, pp. 533–537, 2003.

See Also

| | | |

Introduced in R2006a