From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Solving differential equations
Date: Sat, 11 Feb 2012 22:10:10 +0000 (UTC)
Organization: University of Rhode Island
Lines: 9
Message-ID: <jh6p02$k21$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1328998210 20545 (11 Feb 2012 22:10:10 GMT)
NNTP-Posting-Date: Sat, 11 Feb 2012 22:10:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1378413
Xref: comp.soft-sys.matlab:757406

I need to solve differential equations:
3 equations:
          dX/dt = MX-kX
          dS/dt = DS0 - (MX/Y)
          dP/dt = AdX/dt + BX
the 4th and 5th equations are
          dM/dX = Mmax.S/kX+S
          dM/dS = Mmax.S/kX+S
So, the first 3 equations are with respect to time and the 4th and 5th equations are with respect to one of the 3 variables that are solved wrt time. If I were to solve only the first 3 equations, I know how to write the code and solve using ODE45. But how do I incorporate the 4th and 5th equations? All of these need to be solved simultaneously. Could you guide me to any help files?