- #1
Dionisio Mendoza
- 9
- 0
- Homework Statement
- I am trying to imitate a model of differential equations in Matlab about G proteins but I can not achieve it.
- Relevant Equations
- -d/dt=x2
d/dt=x1
WHAT HAPPENS IS That I need to model the example of A Protein G example, using a function f in Matlab, but when I execute the script, the graphics I get do not correspond to those of the example.
The problem is that I can not understand what the model seeks to represent, besides that I do not know if my script is correct.
The function is the following:
The section of the PDF is that of 3.2.4.1 G proteins
[Mentor Note -- Added code tags. Please always post code using code tags]
The problem is that I can not understand what the model seeks to represent, besides that I do not know if my script is correct.
The function is the following:
Matlab:
function dydx = examenisb (x,y)
ki = 1;
ku = 1;
global Km1;
global Km2;
V1 = y(2)*ki*x(1)/(Km1+y(2));
V2 = y(1)*ku*x(1)/(Km2+y(1));dadx = V1-V2;
dbdx = -V1-V2;
dydx = [dadx -dbdx]';
The scrypt is this:
global Km1;
global Km2;
Km1=.001;
Km2=.001;
[x,y]=ode45(@examenisb,[0,2],[0.1 0.1]);
plot(x,y);
xlabel('tiempo (h)')
ylabel('biomasa')
title('Biomasa')
The section of the PDF is that of 3.2.4.1 G proteins
[Mentor Note -- Added code tags. Please always post code using code tags]
Attachments
Last edited by a moderator: