octave-maintainers
[Top][All Lists]
Advanced

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

Re: Cell arrays of strings in "sort" and "unique"


From: Alois Schloegl
Subject: Re: Cell arrays of strings in "sort" and "unique"
Date: Thu, 16 Sep 2004 08:48:45 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)



John W. Eaton wrote:

On 15-Sep-2004, Alois Schloegl <address@hidden> wrote:

| In this case, compatibility is not a "must". The result might differ | already in the next version of matlab.

That could be said for any Matlab feature.  Why is this one different
from any of the others?

jwe


Ok, the above answer can be made more impartial using the following critiria,
(a) does the "purpose" of a function suggest a certain solution
(b) which solution is more powerful, i.e. which solution can be used in a wider range of applications (c) efficiency of the implementation, which solution provides a higher performance ?
(d) ... <something I forgot> ?

With respect to the question whether NaNs should be sorted to which end, criteria (a) and (b) do not suggest any preferred solution. Therefore, only criteria (c) should be applied.

Alois






reply via email to

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