A very efficient technique for the full-wave analysis of passive waveguide components, composed of the cascade connection of planar junctions, is presented. This novel technique provides the wideband generalized impedance matrix representation of the whole structure in the form of pole expansions, thus extracting the most expensive computations from the frequency loop. For this purpose, the structure is segmented into planar junctions and uniform waveguide sections, which are characterized in terms of wideband impedance matrices. Then, an efficient iterative algorithm for combining such matrices, and finally providing the wideband generalized impedance matrix of the complete structure, is followed. Two waveguide filters have been used to prove the accuracy and efficiency of this novel technique, which is specially suited for modeling complex geometries.