View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Empirical formula

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 4.83 KB File ID: #39569 Version: 1.0

Empirical formula


Jonathan Karr (view profile)


Class for representing empirical formulae including support for basic math (+, -, *, etc.)

| Watch this File

File Information

Example Usage:

import edu.stanford.covert.util.EmpiricalFormula;
x = EmpiricalFormula()
x = EmpiricalFormula('H2O')
x = EmpiricalFormula(struct('H', 2, 'O', 1))

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
22 Dec 2012 Richard Crozier

Jonathan, I think this could be a useful piece of code, but you have not documented it. If you have gone to the effort of writing and shareing the code, I suggest going the extra effort to document it so others might be interested in using it.

Comment only

Contact us