Comparison with NaN

Michael Goffioul michael.goffioul at gmail.com
Mon May 11 12:51:59 CDT 2009


On Mon, May 11, 2009 at 10:06 AM, Jaroslav Hajek <highegg at gmail.com> wrote:
> here you are:
>
> sort ([NaN, 1, -1, 2, Inf]')

ans =

   NaN
    -1
     1
     2
   Inf

> sort ([NaN, 1, -1, 2, Inf], 2)

ans =

   NaN    -1     1     2   Inf


> sortrows ([NaN, 1, -1, 2, Inf]')

ans =

   NaN
    -1
     1
     2
   Inf


Michael.


More information about the Octave-maintainers mailing list