What is the ABCD matrix of the following configuration, where a transmission line with characteristic impedance \$Z_0\$ is connected to another line with characteristic impedance \$Z_1\$ (if we consider \$Z_0\$ as port 1 and \$Z_1\$ as port 2)?
The \$S\$ matrix given in this reference is
$$ S = \begin{pmatrix} \frac{Z_1 - Z_0}{Z_1 + Z_0} & \frac{2\sqrt{Z_0Z_1}}{Z_0 + Z_1}\\ \frac{2\sqrt{Z_0Z_1}}{Z_0 + Z_1} & \frac{Z_0 - Z_1}{Z_0 + Z_1} \end{pmatrix}, $$
which I converted to the ABCD matrix as
$$ \text{ABCD} = \begin{pmatrix} \sqrt{Z_1/Z_0} & 0\\ 0 & \sqrt{Z_0/Z_1} \end{pmatrix} $$
by the formulas from for example here. I wonder if there is a way to see the form of the ABCD matrix directly.