Está en la página 1de 1

function [Km] = competicionKmKs()

% Parametros de sustancia y velocidad


Data.S =[20 30 40 60 80 100]; %mg/ml
Data.Vo = [ 0.0018 0.0040 0.0045 0.0108 0.0195 0.0249]; %UI

% Gráfica Michaelis Menten


figure; plot(Data.S,Data.Vo,"o")
xlabel("[S] (mg/mL)");
ylabel("Vo (UI)");
title("Grafica de michaellis-mente");

% Preguntas para ingresar los parametros


Km0 = 125;
theta0 =Km0;

%call minizer to fit rate law to data


Options = optimset('Display', 'iter');
[theta]= fminsearch(@calc_SSE,theta0,Options,Data);

%Resultados
Km = theta(1);
Sys.Km = theta(1);
S =linspace(0,110,150);
V0 = enzyme_vo(Sys,S);
figure
plot(Data.S,Data.Vo,"o")
hold on
plot(S,V0,"*");
legend("Datos experimentales","modelo aproximado")
xlabel("[S] (mg/mL)");
ylabel("Vo (UI)");
title("Velocidad inicial vs Concentración de Sustrato")
return

function SSE= calc_SSE(theta,Data)


Sys.Km = theta(1)
V0 = enzyme_vo(Sys,Data.S);
res = Data.Vo-V0;
SSE = 0.5*dot(res,res);
return
function V0 = enzyme_vo(Sys,S)
Vmax = 0.0322;
V0 = (Vmax*S)./(Sys.Km+S);
return

También podría gustarte