From: "Alex " <>
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$>
References: <iar9rb$91e$> <iare2c$7sd$> <iarhgv$j18$> <iarmrk$a1l$>
Reply-To: "Alex " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1288794424 23856 (3 Nov 2010 14:27:04 GMT)
NNTP-Posting-Date: Wed, 3 Nov 2010 14:27:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 566574
Xref: 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

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

What do you suggest me do?