Modulating electromagnetic waves in transmission line, waveguide, cavity resonator or radiation field of antenna