Minimization of two simultaneous ODES with shared parameters

2 vues (au cours des 30 derniers jours)
Matterazzi
Matterazzi le 7 Jan 2023
Modifié(e) : Matterazzi le 12 Jan 2023
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)
  2 commentaires
Torsten
Torsten le 8 Jan 2023
*. does not exist in MATLAB, only .*
Matterazzi
Matterazzi le 8 Jan 2023
Typographic error.

Connectez-vous pour commenter.

Réponse acceptée

Torsten
Torsten le 8 Jan 2023
  2 commentaires
Star Strider
Star Strider le 8 Jan 2023
@Torsten — Thank you!
Matterazzi
Matterazzi le 12 Jan 2023
Modifié(e) : Matterazzi le 12 Jan 2023
@Torsten and @Star Strider; thank you for commendable work that you are doing.

Connectez-vous pour commenter.

Plus de réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 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.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by