I'm trying to run a code to plot conversion vs catalyst mass in a packed bed reactor, but something is wrong.
5 views (last 30 days)
Show older comments
1 Comment
Answers (1)
Torsten
on 18 Mar 2023
You tell the integrator that you have four additional inputs to your function
[W,F]=ode45(@(t,F)ODEfun(t,F,T,P_total,F0_total,R),W,F0);
but you only have two:
function dFdW = ODEfun(W,F,T,P_total)
11 Comments
See Also
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!