"Peter " <firstname.lastname@example.org> wrote in message <email@example.com>... > Good day, > > I am trying to solve the following system of equations, where all the M's depend on time. > > M1/dt=?p1M1+p2M2 > > M2/dt =?(p2+p3)M2+p1M1+p4M3 > > M3/dt =?p4M3+p3M2 > > Here, p1 p2 p3 and p4 are parameters. The initial conditions are, in principle, M1 = 1, M2 = M3 = 0. > > What I am attempting to do is solve this system with matlab, so that I can see how it evolves in time, as they all depend on each other in time. > > However, I simply don't know how to start. I have tried searching for similar problems, but none of them seem to make sense. Now I am of course not asking for you to solve this for me, but rather if you could give me a hand in starting to tackle the problem. I personally have started using matlab only last week, so I am rather inexperienced, but I have enough time on my hands to struggle.