help-octave
[Top][All Lists]
Advanced

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

Re: Wrong indices returned using Lookup for cells containing strings


From: Nicholas Jankowski
Subject: Re: Wrong indices returned using Lookup for cells containing strings
Date: Wed, 21 Oct 2015 08:21:28 -0400

On Oct 21, 2015 7:43 AM, "Francesco Potortì" <address@hidden> wrote:
>
> >So sorting seems to solve the problem. Thank you guys.
>
> Yes.  When doing lookup(TABLE, Y), TABLE must be sorted.  This is not
> clear from the docs, I filed a bug report.
>

Hmm, then why did I get the same output for

>> lookup(a,b)

And

>> lookup(sort(a),b)

??


reply via email to

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