How to index a cell vector of strings?
Show older comments
I have a vector of cells, each one is 'x' or 'y'. How can I index them, similar to the "find" function? Thank you.
4 Comments
Azzi Abdelmalek
on 22 Jun 2015
This is not clear, you can illustrate with an example
Cary
on 22 Jun 2015
Cary
on 22 Jun 2015
Azzi Abdelmalek
on 22 Jun 2015
suppose s={'x','a','x','y','b','b','c','y','y','x'}, what is the expected result?
Accepted Answer
More Answers (0)
Categories
Find more on Matrices and Arrays 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!