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 件)

カテゴリ

質問済み:

2018 年 11 月 12 日

編集済み:

2018 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by