|
From: | Nicholas Jankowski |
Subject: | Re: use of "Octave:invalid-input-arg" as warning id |
Date: | Tue, 15 Dec 2015 11:31:09 -0500 |
On Tue, Dec 15, 2015 at 11:01 AM, Carlo De Falco <address@hidden> wrote:
On 15 Dec 2015, at 16:50, Nicholas Jankowski <address@hidden> wrote:
> Matlab 2015a:
> no output other than the expected values of t and y if your remove the ;
could please also try what happens if ask for no output values?
ode45(@(t,x)[x(2); -(2*pi*3)^2*x(1)], [0 1], [1 0])
thanks,
c.
with or without a semicolon, it automatically creates a plot of the output. Same as running:>> [t y] = ode45(@(t,x)[x(2); -(2*pi*3)^2*x(1)], [0 1], [1 0]);>> plot(t,y,'-o')>> clear t y;
[Prev in Thread] | Current Thread | [Next in Thread] |