Products & Services Solutions Academia Support User Community Company

Learn more about RF Toolbox   

smm2s - Convert mixed-mode 2N-port S-parameters to single-ended 4N-port S-parameters

Syntax

s_params = smm2s(s_dd, s_dc, s_cd, s_cc)
s_params = smm2s(s_dd, s_dc, s_cd, s_cc, option)

Description

s_params = smm2s(s_dd, s_dc, s_cd, s_cc) converts mixed-mode, 2N-port S-parameters into single-ended, 4N-port S-parameters, s_params.

By default, smm2s maps the first half of the mixed-mode ports to the odd-numbered pairs of single-ended ports and maps the second half to the even-numbered pairs.

s_params = smm2s(s_dd, s_dc, s_cd, s_cc, option) converts the S-parameter data using the optional argument option. option indicates the port-numbering convention that the S-parameters use.

option can be:

The default value of option is 1.

If you want to reorder the ports in s_params later according to a different port-numbering convention, use the snp2smp function.

Examples

Create sample arrays of 2-port, mixed-mode S-parameters:

 ckt = read(rfckt.passive, 'default.s4p'); 
 s4p = ckt.NetworkData.Data; 
 [sdd, scd, sdc, scc] = s2smm(s4p); 

Convert them back to 4-port, single-ended S-parameters:

  s4p_converted_back = smm2s(sdd, scd, sdc, scc); 

References

Granberg, T., Handbook of Digital Techniques for High-Speed Design.Upper Saddle River, NJ: Prentice Hall, 2004.

See Also

s2smm
s2scc
s2scd
s2sdc
s2sdd
snp2smp

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS