How to select column form 3D array and use it in other 3D array?
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!