Balancing

Balancing of Chemical Reactions when the Reactions are Unknown.
6.1K Downloads
Updated 22 Feb 2008

View License

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 (2024). Balancing (https://www.mathworks.com/matlabcentral/fileexchange/13105-balancing), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Atomic, Molecular & Optical in Help Center and MATLAB Answers
Acknowledgements

Inspired: Binarizar(Igray)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Text was improved.