How to copy values from one array to empty array using 'for'?
显示 更早的评论
I have an nx2-sized array. I want to move some values in that array to a new array (empty array) with 'for'. How do I do this? Thanks
2 个评论
KSSV
2020-5-8
If you have indices idx of the array..you can copy them
iwant = myarray(idx,:) ;
Merlyn Inova
2020-5-14
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!