Minimization of two simultaneous ODES with shared parameters

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

*. does not exist in MATLAB, only .*
Typographic error.

Connectez-vous pour commenter.

 Réponse acceptée

Plus de réponses (1)

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.

Catégories

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by