How to find elements of an Array using indexes.
Mostrar comentarios más antiguos
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 comentarios
James Tursa
el 5 de Jul. de 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
el 5 de Jul. de 2018
Brandon Bush
el 5 de Jul. de 2018
Brandon Bush
el 5 de Jul. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!