Documentation

# t2s

Convert T-parameters to S-parameters

## Syntax

```s_params = t2s(t_params) ```

## Description

`s_params = t2s(t_params)` converts the chain scattering parameters `t_params` into the scattering parameters `s_params`. The `t_params` input is a complex 2-by-2-by-M array, representing M 2-port T-parameters. `s_params` is a complex 2-by-2-by-M array, representing M 2-port S-parameters.

This function defines the T-parameters as

`$\left[\begin{array}{c}{a}_{1}\\ {b}_{1}\end{array}\right]=\left[\begin{array}{cc}{T}_{11}& {T}_{12}\\ {T}_{21}& {T}_{22}\end{array}\right]\left[\begin{array}{c}{b}_{2}\\ {a}_{2}\end{array}\right],$`

where:

• a1 is the incident wave at the first port.

• b1 is the reflected wave at the first port.

• a2 is the incident wave at the second port.

• b2 is the reflected wave at the second port.

## Examples

collapse all

Define a matrix of T-parameters

```t11 = 0.138451095405929 - 0.230421317393041i; t21 = -0.0451985986689165 + 0.157626245839348i; t12 = 0.0353675449261375 + 0.115682026931012i; t22 = -0.00194567217559662 - 0.0291212122613417i; t_params = [t11 t12; t21 t22];```

Convert to S-parameters

`s_params = t2s(t_params)`
```s_params = 2×2 complex -0.5892 + 0.1579i 0.0372 + 0.0335i 1.9159 + 3.1887i 0.3011 - 0.3344i ```

## References

Gonzalez, Guillermo, Microwave Transistor Amplifiers: Analysis and Design, 2nd edition. Prentice-Hall, 1997, p. 25.