transmission line

calculate the properties of the transmission line in the phasor


Parameters

characteristic impedance
`Z_0` \(\Omega\)
Load impedance
`Z_L` \(\Omega\)
Distance from load
d \(\lambda\)

Output

Reflection coefficient at z=0 `Gamma_0`

`Gamma_0=(Z_L-Z_0)/(Z_L+Z_0)`

Voltage standing wave ratio VSWR

`(1+|Gamma_0|)/(1-|Gamma_0|)`

Input reflection coefficient `Gamma_(i\n)`

`Gamma(0) e^(-2jbeta d)`

Input impedance `Z_(i\n)`

`Z_0 (1+Gamma_(i\n))/(1-Gamma_(i\n))`

Return loss RL

`20log abs(Gamma_(i\n))`

Insert loss IL

`-10log(1-abs(Gamma_(i\n))^2)`