The scattering of a diaphragm in a packaged microstrip line is investigated using the mode-matching method together with the method of lines. Instead of analyzing the discontinuity in the microstrip, this paper tackles the variation of the waveguide housing. The influences of the thickness and the depth of the diaphragm on the scatterings of the dominant mode and higher-order modes are analyzed...