Provides MATLAB functions that return commonly used physical constants in SI units.
Functions take no arguments and return one or two valaues. If present, the second value gives the standard uncertainty from CODATA:
>> h = hbar
>> [h,sigma] = hbar
If a constant which you need is missing, you can add it yourself. Please use the following template format to do so:
function [h, sigma] = hbar()
% hbar Reduced Planck's constant
%
% h = hbar
% [h,sigma] = hbar
%
% Returns the reduced Planck constant in
% Joule*second. sigma is the standard
% uncertainty (2014 CODATA).
h = 6.62607015*1E-34/(2*pi);
sigma = 0.000000081*1E-34/(2*pi);
end