Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Find index of point inside array
Date: Fri, 27 Aug 2010 15:20:27 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <i58l3r$9v7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1282922427 10215 172.30.248.35 (27 Aug 2010 15:20:27 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 27 Aug 2010 15:20:27 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1554638
Xref: news.mathworks.com comp.soft-sys.matlab:665551

I have a point 
H = 
[x y] 

The point H is inside an array of points that make a curve

F = 

[x1 y1;
x2 y2;
x3 y3;
x4 y4;
x5 y5;
...]

How do i pick out the index of the point in the array? 

example if [x y] = [x3 y3]

index(H,F) = 3