| MATLAB Central > MATLAB Newsreader > How to find if a sequence occurs? |
|
|
|
Subject: How to find if a sequence occurs? From: Diego Zegarra Date: 12 Feb, 2009 20:29:02 Message: 1 of 8 |
|
Suppose we have the vector a=[2 4 5 3 7 6] and I want to see if the 4 is after the 2 and so on for every number, 6 after 7, etc. |
|
Subject: How to find if a sequence occurs? From: Eric Williams Date: 12 Feb, 2009 20:46:01 Message: 2 of 8 |
|
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <gn20qd$2ic$1@fred.mathworks.com>... |
|
Subject: How to find if a sequence occurs? From: Diego Zegarra Date: 12 Feb, 2009 21:06:02 Message: 3 of 8 |
|
That is not what I meant, I do not care if its increasing or not, I just want to be able to see when a sequence happens. |
|
Subject: How to find if a sequence occurs? From: Eric Williams Date: 12 Feb, 2009 21:20:17 Message: 4 of 8 |
|
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <gn22vq$sn9$1@fred.mathworks.com>... |
|
Subject: How to find if a sequence occurs? From: someone Date: 12 Feb, 2009 21:56:02 Message: 5 of 8 |
|
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <gn20qd$2ic$1@fred.mathworks.com>... |
|
Subject: How to find if a sequence occurs? From: Roger Stafford Date: 12 Feb, 2009 22:30:18 Message: 6 of 8 |
|
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <gn20qd$2ic$1@fred.mathworks.com>... |
|
Subject: How to find if a sequence occurs? From: Rune Allnor Date: 12 Feb, 2009 23:35:14 Message: 7 of 8 |
|
On 12 Feb, 21:29, "Diego Zegarra" <diego...@gmail.com> wrote: |
|
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <gn20qd$2ic$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
