Parameter evaluation in ODE.

Hi everyone,
I am working on kinetic model and i want to evaluate the parameter in the models. I have three parameters (alpha, beta and m) that involved in three ODE.
dx/dt = u*X
dp/dt = alpha*(dx/dt) + beta*X
ds/dt = (1/Yxs)*dx/dt + (1/Yps)*dp/dt + m*X
I am using ODE45 to solve the ODE function and fminsearch for fitting. However, the fminsearch doesn't seem to minimize the function. I wish someone could give me a suggestion. I attach the file along with this question. Thank you very much.

 采纳的回答

Stephan
Stephan 2018-11-14
编辑:Stephan 2018-11-14

1 个投票

Hi,
try the attached code. It first evaluates and plots the results of your ode-system with the initial ko values. Then it optimizes the ko-values to least squares fit to your data. The optimized ko values are then used to integrate the function with ode45 as known. Then this result is plotted in a second figure, so that you can compare both figures.
The minimizedww.m file is not needed for this version.
Best regards
Stephan

更多回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by