octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48690] basic statistics functions should retu


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #48690] basic statistics functions should return NaN on empty input
Date: Wed, 26 Jul 2017 13:17:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #26, bug #48690 (project octave):

here's the difference (in c) I have to capture:

matlab 2017a output:

>> [m f c] = mode (ones(0,0))
m =
   NaN
f =
     0
c =
  cell
    [0×1 double]

>> [m f c] = mode (ones(0,1))
m =
   NaN
f =
     0
c =
  cell
    [1×0 double]


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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