Path: news.mathworks.com!not-for-mail
From: "Jonathan " <none@domain.com>
Newsgroups: comp.soft-sys.matlab
Subject: Find a vector in a matrix
Date: Wed, 13 Aug 2008 17:41:02 +0000 (UTC)
Organization: Tufts University
Lines: 13
Message-ID: <g7v6be$t4$1@fred.mathworks.com>
Reply-To: "Jonathan " <none@domain.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1218649262 932 172.30.248.35 (13 Aug 2008 17:41:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 13 Aug 2008 17:41:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 322195
Xref: news.mathworks.com comp.soft-sys.matlab:485308



Is there an easy way to find a vector in a matrix?

for example

     1     1     1     1     1     1
     1     1     1     1     1     1
    12    12    12    12    12    12
     1     1     1     1     1     1
     1     1     1     1     1     1 

i want to identify the row that has [12 12 12 12 12 12]

Thanks