About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 6 years ago
  • Total downloads: 68
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Rob Chambers
See full specifications

scripts default iconinitializePhysicalConstants.m (Scripts) Publisher's description

initializePhysicalConstants.m loads important physical constants into
the structure CONSTS

initializePhysicalConstants.m loads important physical constants into
the structure CONSTS. The CONSTS structure will contain both values
(accessible by CONSTS.var_name), and descriptive information
(CONSTS.desc.var_name.[Name, Units, Value]).


% What are the units of the unversal gas constant?
ans =
Name: 'Gas Constant'
Units: 'J K^-1 mol^-1'
Value: 8.3140

% Atoms in 10 grams of oxygen:
V = 1; %L
P = 1; % atm
T = CONSTS.T_o + 20; % K
nMols = P*V / (CONSTS.R*T)
nMols =
% How may atoms?
nAtoms = nMols * CONSTS.N_a
nAtoms =

This program can be vastly improved; I'm happy to do so if people
actually use it. (for example: more constants, database functionality,
embedded dimensional information...) Just send me an email (see my

Created: Rob Chambers

Free to use or modify, just keep my reference info intact.

System Requirements:

MATLAB 7.3 (R2006b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

initializePhysicalConstants.m (Scripts) Tags:

Click on a tag to find related softwares

Is initializePhysicalConstants.m (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.