octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can someone check matlab output of the attached code? (was updated d


From: Steph Bredenhann
Subject: Re: can someone check matlab output of the attached code? (was updated datevec.m...)
Date: Mon, 12 Oct 2015 22:29:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

R2015b on Ubuntu 14.04 64bit

test1 =

   1.0e+03 *

    2.0150    0.0010    0.0010    0.0150    0.0380    0.0212


test2 =

   1.0e+03 *

    2.0150    0.0010    0.0010    0.0150    0.0380    0.0213


test3 =

   1.0e+03 *

    2.0150    0.0010    0.0010    0.0150    0.0380    0.0213


test4 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0150    0.0070    0.0121


test5 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0230    0.0070    0.0121


test6 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0030    0.0070    0.0121


test7 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0110    0.0070    0.0121


test8 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0150    0.0070    0.0121


test9 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0030    0.0070    0.0121


test10 =

   1.0e+03 *

    2.0150    0.0060    0.0010    0.0150    0.0070    0.0121

>>




On 12/10/2015 19:12, Nicholas Jankowski wrote:
On Sun, Oct 11, 2015 at 10:32 PM, Nicholas Jankowski <address@hidden> wrote:
Could use someone with matlab access to do a compatibility check on the tests/output for corrected version of datevec.m I attached to the bug report.

Function was failing when format combined .FFF and AM/PM.  currently passes all tests, but don't have access to verify ML compatibility at the moment.

https://savannah.gnu.org/bugs/index.php?46171


Nick J.


the following commands should run in Matlab. Could someone with access please post back the output?  I'll use that to verify that I didn't break compatibility with my bugfix. Thanks in advance.

Nick J.

--------------------
%% Test millisecond format FFF
test1 = datevec ('15:38:21.2', 'HH:MM:SS.FFF')
test2 = datevec ('15:38:21.25', 'HH:MM:SS.FFF')
test3 = datevec ('15:38:21.251', 'HH:MM:SS.FFF')

%% Test millisecond format FFF with AM/PM, and 1,2, or 3 FFF digits
test4 = datevec ('06/01/2015 3:07:12.102 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test5 = datevec ('06/01/2015 11:07:12.102 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test6 = datevec ('06/01/2015 3:07:12.102 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test7 = datevec ('06/01/2015 11:07:12.102 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test8 = datevec ('06/01/2015 3:07:12.1 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test9 = datevec ('06/01/2015 3:07:12.12 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test10 = datevec ('06/01/2015 3:07:12.12 PM','mm/dd/yyyy HH:MM:SS.FFF PM')

------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]