hello scilab users, 

i have a problem, i'm trying to find a vector into another vector. my vector
looks like this: 
A=[7  342  75  36  36  36  9  64  213  82  36  36  36  9  72]

i would like to find the position of the under vector 
B=[36 36 36] in A
so that i get a vector C=[4 11]... (4 and 11 are the positions where the
vector B begins).

i have already tried: [v,ka,kb]=intersect(A,B), but this function searches
only the first occur of "36" in A.
has somebody  an idea how i can realize that?

sorry, for my bad english.



--
View this message in context: 
http://mailinglists.scilab.org/Find-the-position-of-vector-in-another-vector-tp4030943.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to