Described embodiments include apparatus that includes a signal generator and an electric circuit. The signal generator is configured to supply a signal having both a first dominant frequency and a second dominant frequency. The electric circuit, which includes a reactive component, is configured to generate, upon the signal being supplied to the electric circuit, a magnetic field having both the first dominant frequency and the second dominant frequency, by virtue of the reactive component simultaneously resonating at both the first dominant frequency and the second dominant frequency. Other embodiments are also described.