Clear Filters
Clear Filters

Minimization of two simultaneous ODES with shared parameters

3 views (last 30 days)
Hi;
I have a system of two odes having shared k parameters. I want to integrate them using ode23 or similar and optimizing the k values by fitting to experimental data for c. I am lacking experimental data for L since it not assessible for measurement. I am not sure how execute this and any help is very appreciated.
% Two simulat. eqns describing system to be solved.
dcdt = -dcdz/tau + (RHOcat/EPS)*(-k(1)*.c + k(2)*.L);
dLdt = k(1)*.c - k(2)*.L - k(3)*.L;
% Minization of experimental data to model
[k,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat]=lsqcurvefit(@kinetics,k0,t,c)

Accepted Answer

Torsten
Torsten on 8 Jan 2023

More Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 8 Jan 2023
If you all other parameter values, then you can write a fcn handle or function file of the two ODEs. Then find the system solution symbolically.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!