S and Q matrices reloaded: Applications to open, inhomogeneous, and complex cavities | IEEE Conference Publication | IEEE Xplore