Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Selecting first n elements of V that meet criteria
Date: Mon, 23 Jan 2012 16:09:55 -0600
Organization: Aioe.org NNTP Server
Lines: 12
Message-ID: <jfklrh$k3c$1@speranza.aioe.org>
References: <jfkl3m$cat$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: xuV1PQpPhqEYmKyITA9JoQ.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news.mathworks.com comp.soft-sys.matlab:755536

On 1/23/2012 3:57 PM, Ulrik Nash wrote:
...

> ... I wish to create a second vector, S, which consists of the
> index values for the first n elements of V equal to 1.

...

doc find % NB optional second argument

--