Empirical formula

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

You are now following this Submission

Example Usage:

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

Cite As

Jonathan Karr (2026). Empirical formula (https://uk.mathworks.com/matlabcentral/fileexchange/39569-empirical-formula), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Chemistry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0