Path: news.mathworks.com!not-for-mail
From: "Ken Fleisher" <k-fleisher.donotspamme@nga.gov>
Newsgroups: comp.soft-sys.matlab
Subject: Re: The N largest values of an M x 1 matrix
Date: Thu, 3 Jan 2008 21:11:41 +0000 (UTC)
Organization: National Gallery of Art
Lines: 4
Message-ID: <fljj2d$6l9$1@fred.mathworks.com>
References: <57537254-3f7e-43e4-8fc4-75d8de63b3d6@s8g2000prg.googlegroups.com>  <7222b5d8-b1b3-425c-be43-ac349257c5e7@e23g2000prf.googlegroups.com> <fljhp5$cvr$1@fred.mathworks.com>
Reply-To: "Ken Fleisher" <k-fleisher.donotspamme@nga.gov>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199394701 6825 172.30.248.35 (3 Jan 2008 21:11:41 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jan 2008 21:11:41 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1087728
Xref: news.mathworks.com comp.soft-sys.matlab:444259


What about if there are 5 or more values that are equal and
are the max? Are you looking for the top five "unique"
values or simply the top five values (which could all be the
same)?