Code covered by the BSD License  

Highlights from
Empirical formula

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

Empirical formula

by

 

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

| Watch this File

File Information
Description

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.

Contact us