How to find elements of an Array using indexes.
Show older comments
I need to find the elements in a 388x2 array by using indexes given by [I]. The indexes can be any number within the 0-388 range and there are 31 total.
4 Comments
James Tursa
on 5 Jul 2018
Indexes can't be 0 in MATLAB. Can you give a small example? Normally you would just do something like this:
result = my_array(I,:);
Brandon Bush
on 5 Jul 2018
Brandon Bush
on 5 Jul 2018
Brandon Bush
on 5 Jul 2018
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing 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!