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.

 Réponse acceptée

Stephan
Stephan le 14 Nov 2018
Modifié(e) : Stephan le 14 Nov 2018

1 vote

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by