A method is described whereby complex reflection and transmission coefficients of modes excited at a waveguide junction may be determined by a simple technique utilising a digital computer. As an example, a junction between a homogeneous and an inhomogeneous waveguide is considered for cases where both one and two modes propagate in the inhomogeneous waveguide. Favourable comparison is made in the former case with experimental results obtained previously.