[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 16:54:55 +0100 |
On Tue, Dec 15, 2015 at 4:50 PM, Nicholas Jankowski <address@hidden> wrote:
> On Tue, Dec 15, 2015 at 10:49 AM, Juan Pablo Carbajal
> <address@hidden> wrote:
>>
>> On Tue, Dec 15, 2015 at 4:46 PM, Juan Pablo Carbajal
>> <address@hidden> wrote:
>> > On Tue, Dec 15, 2015 at 4:37 PM, Nicholas Jankowski
>> > <address@hidden> wrote:
>> >> On Tue, Dec 15, 2015 at 10:27 AM, Carlo De Falco
>> >> <address@hidden>
>> >> wrote:
>> >>>
>> >>>
>> >>> On 15 Dec 2015, at 16:21, Juan Pablo Carbajal <address@hidden>
>> >>> wrote:
>> >>>
>> >>> > I think the cleanest thing is to not generate any warnings, unless
>> >>> > of
>> >>> > course, we are attaching to mathworks idiosyncrasy.
>> >>>
>> >>> does anyone know what does Matlab do in this case?
>> >>> c.
>> >>>
>> >>>
>> >>>
>> >>
>> >> not overly familiar with the toolset. Sample code I can run to
>> >> reproduce?
>> >>
>> >>
>> >
>> > ode45(@(x,t)[x(2), -(2*pi*3)^2*x(1)], [0 1], [1 0]);
>>
>> Sorry, to hastly
>>
>> [t y] = ode45(@(t,x)[x(2); -(2*pi*3)^2*x(1)], [0 1], [1 0]);
>>
>> Octave says:
>>
>> warning: Option "RelTol" not set, new value 0.000001 is used
>> warning: called from
>> ode45 at line 113 column 5
>> warning: Option "AbsTol" not set, new value 0.000001 is used
>> warning: Option "InitialStep" not set, new value 0.100000 is used
>> warning: Option "MaxStep" not set, new value 0.100000 is used
>
>
>
>
> Matlab 2015a:
> no output other than the expected values of t and y if your remove the ;
I suggest all warnings due to default values used are dropped.
- 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, 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, 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, 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 <=
- 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, 2015/12/15
- Re: use of "Octave:invalid-input-arg" as warning id, Nicholas Jankowski, 2015/12/15