Batch reactor is a reactor in chemical engineering. Matlab can be used to solve differential equations of batch reactors. Reaction volume, concentrations of each species are plotted. In this tutorial Matlab programming part is explained with code. This code is little bit hard because differential equations are solved here.
Below file contains all source codes for each part of the computational section and a pdf containing all information.
Download Batch Reactor Computer Simulation - Matlab ProgramThis problem was taken by:
Fogler,H.S. , Elements of Chemical Engineering, Second edition, Prentice- Hall International editors, P4-27