Fundamental physical constants

Functions that returns a struct() containing most fundamental physical constants.
1.2K Downloads
Updated 22 May 2009

View License

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 (2024). Fundamental physical constants (https://www.mathworks.com/matlabcentral/fileexchange/24236-fundamental-physical-constants), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0