I am preparing the matlab codes for below mentioned seven interlinked equations:
A = Ga * SI (1)
OC = Goc*SI (2)
SI = 2*t (3)
ES= 3*t (4)
dGa/dt = (alpha*SI)* (ES-A) (5)
dGoc/dt = (betaa*SI)* (A-OC-ES) (6)
MO = A – OC (7)
The integral output of equation (5) i.e “Ga” will be input for eq. (6). I tried to solve them by ODE45 and Nested Function. Something is wrong to get Final Output as equation (7). “Ga” I am getting through main1 file (attached) if nested part is removed from it, but when I tried to attach Belbic1 function file to main1 as nested function it failed to give “Goc”
Also don’t know how to find MO after this?