[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of "Octave:invalid-input-arg" as warning id
From: |
Juan Pablo Carbajal |
Subject: |
Re: use of "Octave:invalid-input-arg" as warning id |
Date: |
Tue, 15 Dec 2015 17:36:54 +0100 |
On Tue, Dec 15, 2015 at 5:31 PM, Nicholas Jankowski <address@hidden> wrote:
> On Tue, Dec 15, 2015 at 11:24 AM, Nicholas Jankowski <address@hidden>
> wrote:
>>
>> 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;
>
>
> that was unexpected as i don't see it mentioned in the docs, but it is
> described elsewhere:
> "With no output arguments, ode45 automatically plots the solution as it is
> computed. "
> http://www.mathworks.com/company/newsletters/articles/stiff-differential-equations.html
>
yes, we have that behavior in odepkg as well.
- Re: use of "Octave:invalid-input-arg" as warning id, (continued)
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Juan Pablo Carbajal, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Juan Pablo Carbajal, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Juan Pablo Carbajal, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Carlo De Falco, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Carlo De Falco, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id,
Juan Pablo Carbajal <=
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15