Path: news.mathworks.com!not-for-mail
From: "Alex " <alaios@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Find
Date: Wed, 3 Nov 2010 14:27:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <iarrfo$n9g$1@fred.mathworks.com>
References: <iar9rb$91e$1@fred.mathworks.com> <iare2c$7sd$1@fred.mathworks.com> <iarhgv$j18$1@fred.mathworks.com> <iarmrk$a1l$1@fred.mathworks.com>
Reply-To: "Alex " <alaios@yahoo.com>
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 1288794424 23856 172.30.248.35 (3 Nov 2010 14:27:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 3 Nov 2010 14:27:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 566574
Xref: news.mathworks.com comp.soft-sys.matlab:683552

I solved the above by creating vectors of numbers instead of strings.

Now one more problem.
what if I want to find only the exact sequence
1,1,1

but not the the two 1,1 sequences that can be found inside 1,1,1

What do you suggest me do?