octave-maintainers
[Top][All Lists]
Advanced

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

Re: Comparison with NaN


From: Jaroslav Hajek
Subject: Re: Comparison with NaN
Date: Mon, 11 May 2009 11:06:11 +0200

On Mon, May 11, 2009 at 11:02 AM, Michael Goffioul
<address@hidden> wrote:
> On Mon, May 11, 2009 at 9:56 AM, Jaroslav Hajek <address@hidden> wrote:
>> Does "sortrows" fail as well with NaNs?
>
> Give me a piece of code to test and I'll do it this evening.
>
> Michael.
>

here you are:

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


regards

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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