Comparison with NaN

Jaroslav Hajek highegg at gmail.com
Mon May 11 04:06:11 CDT 2009


On Mon, May 11, 2009 at 11:02 AM, Michael Goffioul
<michael.goffioul at gmail.com> wrote:
> On Mon, May 11, 2009 at 9:56 AM, Jaroslav Hajek <highegg at gmail.com> 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


More information about the Octave-maintainers mailing list