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 equal
Date: Fri, 11 May 2012 06:05:41 +0000 (UTC)
Organization: NASA
Lines: 9
Message-ID: <joia7l$mti$1@newscl01ah.mathworks.com>
References: <johivn$ni4$1@newscl01ah.mathworks.com> <johr01$o50$1@newscl01ah.mathworks.com> <joi6n4$9oa$1@newscl01ah.mathworks.com> <joi8et$g99$1@newscl01ah.mathworks.com> <joi96u$itt$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1336716341 23474 172.30.248.46 (11 May 2012 06:05:41 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 11 May 2012 06:05:41 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1872335
Xref: news.mathworks.com comp.soft-sys.matlab:767470

"Roger Stafford" wrote in message <joi96u$itt$1@newscl01ah.mathworks.com>...
> "Roger Stafford" wrote in message <joi8et$g99$1@newscl01ah.mathworks.com>...
> >   .....  Probably the "t = t*rand;" simply serves to convert 't' from a logical array to a numerical one with 1's and 0's.
> - - - - - - - - 
>   I meant to say, "with zeros and nonzeros".
> 
> Roger Stafford

Yep, makes sense. Thanks again Roger! Saved me a lot of time.