Path: news.mathworks.com!not-for-mail
From: "zedong 
" <zdongwu@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Is there any non loop implement to find the index of a vector  in the matrix?
Date: Sun, 14 Dec 2008 13:39:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <gi329m$3g7$1@fred.mathworks.com>
References: <gi31mu$sqn$1@fred.mathworks.com>
Reply-To: "zedong 
" <zdongwu@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229261942 3591 172.30.248.37 (14 Dec 2008 13:39:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 14 Dec 2008 13:39:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1639198
Xref: news.mathworks.com comp.soft-sys.matlab:506862


example 2:
a=[1 2;5 4]
 b=[4 5;6 7;8 7;1 2;2 3]
I want to return  [4;1]
(I think [4 5] is the same as [5 4])