I have a problem with an itterative set of differential equations and im not sure how to put them in mat lab.
the three functions are :
u =[0.25*s]/[0.005 + s] ... 1
dxdt = ux ...2
It starts by inputting s0 into equations 1 as 0.1, and generating a value for u.
This value of u generated is then used in equation 2 to get a new value for x.
Then this is used to get a new s, then s to get a new u and the process is repeated.
This will show me the change in x and s over time.
I started with the m file for u, which worked fine.
But when i tried to put the function in for dxdt into an mfile i couldnt do it.
I was wondering if anyone could provide me any help