Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to NOT get the first element as the max when elements are
Date: Fri, 11 May 2012 05:02:24 +0000 (UTC)
Organization: NASA
Lines: 6
Message-ID: <joi6h0$8u4$1@newscl01ah.mathworks.com>
References: <johivn$ni4$1@newscl01ah.mathworks.com> <joho6f$tj4$1@speranza.aioe.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1336712544 9156 172.30.248.37 (11 May 2012 05:02:24 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 11 May 2012 05:02:24 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1872335
Xref: news.mathworks.com comp.soft-sys.matlab:767461

dpb <none@non.net> wrote in message <joho6f$tj4$1@speranza.aioe.org>...

> Do a RANDPERM on the length of the returned indices, select the first 
> afterward.
> 
Thanks for your answer. Actually part of the problem is finding those multiple indexes.