Is it possible to code solver tool in Excel as a Matlab code?

11 views (last 30 days)
I am desiging a chemical reactor with a cylindrical geometery, and it has the following parameters (which I am guasing at the momment):
Diameter = 0.6 m
length = 20
Number of tubes = 2100
And I solved 12 ODEs using ode23s, and everything is fine i.e. there are no errors. However, I want to improve my code a little further and let Matlab change the reactor parameters ( only the diameter and length ) until the final conversion of the desired product is 58%. I tried calling the ode solver in a foor loop but that did not help. I hope this makes sense. If anyone has a good idea on how to do this, please let me know.

Answers (1)

Steven Lord
Steven Lord on 27 Nov 2021
If you have Optimization Toolbox take a look at this documentation page and the pages to which the first section link.

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!