File Exchange

image thumbnail

Empirical formula

version 1.0 (4.83 KB) by

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

1 Download

Updated

View License

Example Usage:

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

Comments and Ratings (1)

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.

MATLAB Release
MATLAB 7.13 (R2011b)

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

» Watch video

EmpiricalFormula/src/+edu/+stanford/+covert/+util/