How to effieiently index large arrays?
2 views (last 30 days)
Show older comments
I've noticed that indexing into large arrays takes a surprisingly long amount of time. Is there any general rules or tricks to speed this up.
Basically, I'm talking about: A = rand(M,P); B = zeros(N,P); B(aNdx,:) = A;
0 Comments
Answers (0)
See Also
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!