abcd2s

Convert ABCD-parameters to S-parameters

Syntax

s_params = abcd2s(abcd_params,z0)

Description

s_params = abcd2s(abcd_params,z0) converts the ABCD-parameters abcd_params into the scattering parameters s_params. The abcd_params input is a complex 2N-by-2N-by-M array, representing M 2N-port ABCD-parameters. z0 is the reference impedance; its default is 50 ohms. The function assumes that the ABCD-parameter matrices have distinct A, B, C, and D submatrices:

s_params is a complex 2N-by-2N-by-M array, representing M 2N-port S-parameters.

Alternatives

You can also use network parameter objects to perform network parameter conversions. For more information, see RF Network Parameter Objects.

Examples

Convert ABCD-parameters to S-parameters:

%Define a matrix of ABCD-parameters.
A =      0.999884396265344 +  0.000129274757618717i;
B =      0.314079483671772 +      2.51935878310427i;
C = -6.56176712108866e-007 + 6.67455405306704e-006i;
D =      0.999806365547959 +  0.000247230611054075i;
abcd_params = [A,B; C,D];
%Convert to S-parameters
s_params = abcd2s(abcd_params);

See Also

| | | | | |

Was this topic helpful?