Balancing

Balancing of Chemical Reactions when the Reactions are Unknown.

You are now following this Submission

WARNING: This procedure is effective even when reactions are not known a priori (reactants & products that participate in the reaction).
This m-file presents a method for identifying and balancing any number of chemical reactions. The procedure is based on the singular-value-decomposition of the formula matrix for the reaction mixture. The method is effective even when the reactions are not known a priori.

Inputs:
(varargin) = (s1 = species 1(cell array),s2 = species 2(cell array)
...sN = species N(cell array)
The species is the 'formula'. eg. 'CH4' .

Output:
A table of the balancing coefficients. The sign minus or plus indicates in what side of the reaction they are.

Cite As

Antonio Trujillo-Ortiz (2026). Balancing (https://www.mathworks.com/matlabcentral/fileexchange/13105-balancing), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Binarizar(Igray)

Categories

Find more on Atomic, Molecular & Optical 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

Text was improved.