Clear Filters
Clear Filters

How to effieiently index large arrays?

1 view (last 30 days)
Donald
Donald on 24 Oct 2011
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;

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!