Access specific indexing values for 3D array

1 view (last 30 days)
Hello;
I have 3d array with size A(24,1,80),which contains 80 matrices of size 24x1. For all these matrices I want to select specific indexing values such as index(8,23,4,13,5,20,2,18,15,7), the index has a size of (1x10). any help I really appreciate it.

Accepted Answer

Matt J
Matt J on 17 Jul 2021
Why not do,
A(index,1,:)

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!