A Butler matrix is a beamforming network. It is typically used to feed a phased array of antenna elements and controls the direction of a beam, or beams, of a radio transmission