Method of matching transmitter and receiver