Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!support1.mathforum.org!not-for-mail
From: Dan <dan_ang_25@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Help: Finding 2nd max value index
Date: Thu, 10 Jan 2008 05:18:02 EST
Organization: The Math Forum
Lines: 8
Message-ID: <16223830.1199960323818.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1199960323 12501 144.118.30.135 (10 Jan 2008 10:18:43 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Thu, 10 Jan 2008 10:18:43 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:445175


Hi guys, 

I am pretty new here.

 This code helps me to find the max value index. [C,index] = max(sim_output16,[],2);

I like to ask, how do i find the next max value index.
What code should i type. is there any ?