When you use the SORT function with sparse matrices, it will return an error when the syntax has more than one input. This prevents me from using the SORT function with an option such as 'ascend/descend'. For example,
a = fix(rand(9,1)*10) a = sparse(a)a = sort(a,1,'descend');
returns the following error:
??? Error using ==> sort Too many input arguments.
Best Answer