orderseek - Finds chemical reaction order

Returns the reaction order, r-squared value, rate constant, and half life.
848 Downloads
Updated 10 Feb 2010

View License

From undergraduate chemistry, we know how to test whether a reaction is 0th, 1st, or 2nd order by plotting different transformations of the data, and inspecting which plot fits the best.

This program does the same thing. It transforms the data using different values of the order, attempting to maximize the Pearson r-squared value. Its much faster than making and inspecting a multitude of different plots.

The picture above is essentially an example.

I used the Wikipedia article for the n-th order transformation equation. (http://en.wikipedia.org/wiki/Rate_equation#Summary_for_reaction_orders_0.2C_1.2C_2_and_n)

Cite As

Brad Ridder (2024). orderseek - Finds chemical reaction order (https://www.mathworks.com/matlabcentral/fileexchange/26621-orderseek-finds-chemical-reaction-order), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

fixed a tiny little error in the correlation coefficient's calculation. all better now :)

1.0.0.0