3d matrix element extraction
Mostrar comentarios más antiguos
Given a 10x10x3 matrix, I would like to extract the 3rd dimension for the 5 specific rows and columns, for example:
row indices a=[1 3 5 7 9]
column indices b=[2 4 6 8 10]
And store the result in a 5x3 matrix. How can I achieve this?
1 comentario
Martin Siu
el 19 de Nov. de 2016
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!