Path: news.mathworks.com!not-for-mail
From: "Jack " <use.text.after.underscore.only_jcannon@csu.edu.au>
Newsgroups: comp.soft-sys.matlab
Subject: Help needed with indexing to the first occurrence of a value
Date: Thu, 4 Jun 2009 01:54:01 +0000 (UTC)
Organization: Charles Sturt University
Lines: 1
Message-ID: <h079fp$166$1@fred.mathworks.com>
Reply-To: "Jack " <use.text.after.underscore.only_jcannon@csu.edu.au>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1244080441 1222 172.30.248.38 (4 Jun 2009 01:54:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Jun 2009 01:54:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1819435
Xref: news.mathworks.com comp.soft-sys.matlab:544690


I have a single column vector "F". How can I index to the first occurrence of a the value "98". Only the row at which "98" first occurs is needed (... yes, I am a newbie to matlab). I am having trouble correctly using the find and index functions... Any help would be greatly appreciated. Thanks