how to calculate biokinetic parameters?

3 visualizzazioni (ultimi 30 giorni)
Pooja
Pooja il 23 Set 2022
Commentato: Pooja il 29 Set 2022

Risposta accettata

Davide Masiello
Davide Masiello il 23 Set 2022
You can use MatLab's fit function. Let me give you an example.
Let us assume you have the following set of 50 experimental values of S and mu
S = linspace(0,10000,50);
mu = 0.1160*S./(43.53+S+(S.^2/387))-0.5*rand(size(S))/500; % I have added random noise to the measured values
Now, you can create a fittype using, let's say, the Haldane model.
fitfunc = fittype(@(mumax,KS,KI,x) mumax*x./(KS+x+x.^2/KI));
The you give initial guesses for the three parameters.
x0 = [0.1 50 300];
And eventually use fit to optimize the parameters using the experimental data.
f = fit(S',mu',fitfunc,'StartPoint',x0);
coeffvals = coeffvalues(f)
coeffvals = 1×3
0.1280 67.0570 328.6587
plot(f,S,mu)
As you can see, the coefficient values are slightly different from those specified in your table due to my adding of a random noise to simulate experimental data.
You can use the same procedure with the other functions listed in your table.
  6 Commenti
Pooja
Pooja il 26 Set 2022
It works.
Thank you so much.
Pooja
Pooja il 29 Set 2022
thank you so much.
sir little problem arise with code, I am not familier with Matlab. I can't recognise the code issue.
Please sir Help me.
It's code Quarry
figure plot(s, mu, '.', 'DisplayName','Data')
Error using figure
Argument must be a Figure object or a positive integer.
hold on plot(sv, ypred, '-r', 'DisplayName','Regression')
Error using hold
First argument must be an axes object.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by