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$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1282922427 10215 (27 Aug 2010 15:20:27 GMT)
NNTP-Posting-Date: Fri, 27 Aug 2010 15:20:27 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1554638
Xref: 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