image thumbnail

Balancing

version 1.0.0.0 (5.22 KB) by Antonio Trujillo-Ortiz
Balancing of Chemical Reactions when the Reactions are Unknown.

6K 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 (2021). 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
Acknowledgements

Inspired: Binarizar(Igray)

Community Treasure Hunt

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

Start Hunting!