How to select column form 3D array and use it in other 3D array?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!