Fundamental physical constants
The struct has two levels. The first level is the name of the constant. The second level has fields: "value", "uncert" and "unit".
Example:
phc = fundamentalPhysicalConstantsFromNIST();
phc.speed_of_light_in_vacuum.value
returns
299792458
and
phc.speed_of_light_in_vacuum.unit
returns
ms^-1
Data was obtained from http://physics.nist.gov./cuu/index.html and (almost) automatically transfered to matlab syntax with the help of some c and awk programming.
The constants who's uncertainties are given av (exact), the value of 0 is returned.
Cite As
Jarek Luberek (2026). Fundamental physical constants (https://uk.mathworks.com/matlabcentral/fileexchange/24236-fundamental-physical-constants), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
