Be the first to rate this file! 7 Downloads (last 30 days) File Size: 7.39 KB File ID: #24236

Fundamental physical constants

by Jarek Luberek

 

22 May 2009

Functions that returns a struct() containing most fundamental physical constants.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
physics Jarek Luberek 26 May 2009 11:32:05
physical constants Jarek Luberek 26 May 2009 11:32:05

Contact us at files@mathworks.com