Azzera filtri
Azzera filtri

Access specific indexing values for 3D array

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Matt J
Matt J il 17 Lug 2021
Why not do,
A(index,1,:)

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by