Home

Awesome

PhysConst

A collection of fundamental physical constants in various unit systems for MATLAB.

Licensing

This software is licensed under the GNU General Public License (version 3).

Tested On

Syntax

v=Constant.NameOfConstant returns the value of the named constant in the default unit system. See the list of physical constant names. For examples:

Default Unit System

By default, the values are returned in the SI units. To set a different unit system as default, do one of the following:

v=Constant.UnitSystemCode.NameOfConstant returns the value of the named constant in the specified unit system, regardless of the default unit system. For examples:

Uncertainties

[v,u]=Constant.NameOfConstant and [v,u]=Constant.UnitSystemCode.NameOfConstant additionally return the uncertainty of the named constant.

List of Unit System Codes

List of Physical Constant Names