Torsten
Posts:
1,561
Registered:
11/8/10


Re: Solving a system of three coupled linear diff equations
Posted:
Jan 14, 2014 10:29 AM


"Peter " <c4359385@drdrb.com> wrote in message <lb3kff$8a6$1@newscl01ah.mathworks.com>... > I'm not sure that works. It doesn't give any errors, but it stores (seemingly) empty things, like M1 which is a 1x1 symfun, but I can't see anything in there if I open it. > > I also tried to plot it, but then it has to convert from symfun to double which it cannot do. > > I apologize that I'm such a complete novice, this must all be very trivial.
Add the lines t=linspace(0,1,20); M1=eval(vectorize(Y.M1)); plot(t,M1); (same for M2 and M3)
Best wishes Torsten.

