|
|
Re: speeding up ACCUMARRAY
Posted:
Nov 13, 2012 1:27 PM
|
|
I must admit, I've always found accumarray to be remarkably fast, e.g.,
% DATA subs = ceil(rand(1000000,1)*10);
% ENGINE tic for i = 1:1000 accumarray(subs, 1); end toc
% Result = 1.40 seconds
Is there a specific usage you have in mind?
|
|