Units Conversion Toolbox

by

 

04 Dec 2010 (Updated )

This toolbox attaches units to Matlab variables and enables unit conversion.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Physical Constants

Physical Constants

There are several physical constants that have been included in the conversion tables. Unit names appear in curly braces.

              {'c'}                  the speed of light in a vacuum
              {'g'}                  acceleration due to gravity
              {'e'}                  charge on an electron
              {'me'}                 mass of an electron
              {'mp'}                 mass of a proton
              {'Planck','h'}         energy expended over time
              {'alpha'}              fine structure constant
              {'R'}                  gas constant
              {'Avogadro','NA'}      Avogadro's number
              {'muZero'}             magnetic permeability of free space
              {'epsilonZero'}        dielectric constant of free space

Contact us