mt2mhz

Conversion from mT (millitesla) to MHz (megahertz).

Syntax
nu = mt2mhz(B)
nu = mt2mhz(B,g)
Description

mt2mhz takes the magnetic field value of B, assumes that it is in units of mT (millitesla), converts it to frequency in units of MHz (megahertz) and returns the result in nu.

g gives the g factor for the conversion. If it is omitted, the g factor of the free electron 2.0023... is used (see gfree).

B can be a vector of values. In this case, g can be a scalar or a vector of the same size as B.

Algorithm

The conversion is based on the formula

[eqn]
Examples

An electron spin with a g factor of 2.1 in a magnetic field of 350 mT has a resonance frequency of about 10.3 GHz.

nu = mt2mhz(350,2.1)/1e3
nu =
   10.2872
See also

mhz2mt, unitconvert