Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Solving a system of three coupled linear diff equations
Replies: 9   Last Post: Jan 15, 2014 2:15 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Torsten

Posts: 1,459
Registered: 11/8/10
Re: Solving a system of three coupled linear diff equations
Posted: Jan 14, 2014 10:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.