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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Más respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 8 de En. de 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.

Productos

Versión

R2020a

Preguntada:

el 7 de En. de 2023

Editada:

el 12 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by