This should be quite straightforward but at 2a.m. my brains are not working 100%. ;)
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
18273 Solvers
Back to basics 19 - character types
228 Solvers
132 Solvers
Getting the indices from a vector
3720 Solvers
175 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!