From: Bruno Luong on
SORTROWS on sparse matrix is definitively a consuming task, 6 minutes for matrix of size 100 thousands.

>> a=sprand(1e5,1e5,1e-4);
>> tic; b=sortrows(a); toc
Elapsed time is 361.659520 seconds.

Bruno
 | 
Pages: 1
Prev: help: stran cell array
Next: Animating plots