Which is the shortest/simplest way to check a subvector in a vector?
Show older comments
For example I would like to check the existence of [1,5] in a larger vector: [2,3,1,5,6,6,1]
Accepted Answer
More Answers (0)
Categories
Find more on Author Block Masks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!