How to select column form 3D array and use it in other 3D array?
Ältere Kommentare anzeigen
Hello,
I have two arrays a(5x1x499) and b(500x5x499), would like to select column form 3D array of a and use it as indexing on array b in fashion like b(500,a(:,1,:),:). What would be the option without using for loops. Data stored is gpuArray
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!