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