mhz2mt

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

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

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

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).

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

Algorithm

The conversion is based on the formula

[eqn]
Examples

An electron spin with a g factor of 2.1 with a resonance frequency of 8.7 GHz is in magnetic field of about 296 mT.

B = mhz2mt(8.7e3,2.1)
B =
  295.9977
See also

mt2mhz, unitconvert,