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: NNTP Server
Lines: 12
Message-ID: <jfklrh$k3c$>
References: <jfkl3m$cat$>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20110616 Thunderbird/3.1.11
X-Notice: Filtered by postfilter v. 0.8.2
Xref: 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