Is there faster ranking for matrices than double sort()?
I have a uint16 matrix, where I want to determine the rank of each element with respect to its column in sorted form. The sort f...
3 months ago | 1 answer | 0
Simultaneous sortrows() for all slices of a 3D matrix?
I need to apply sortrows to every page of a 3D matrix and I was wondering if there is a faster way of doing this than simply loo...
3 months ago | 2 answers | 0
Faster way to create a matrix of the unique() of each row of a matrix
Let A be a matrix of relatively big size(A,1), say 2000, and relatively small size(A,2), say 20. I am looking for a faster way t...
4 months ago | 1 answer | 0
Finding the max number of non-zero repeating elements for each row in a large matrix
I have a (large) matrix of type 'uint8' or 'uint16', for (a small) example A = [0 0 2 2 3; 0 1 3 3 3; 0 0 0 0 0; ...
4 months ago | 3 answers | 2
Turning iteratively all elements after and above a '1' into '0'-s starting from the left bottom corner
I have logical square matrices consisting of non-intersecting rectangular patches of '1'-s with no gaps and otherwise '0'-s. 'No...
8 months ago | 1 answer | 0
Vectorization of indexing of each row of a matrix by a corresponding row of another matrix?
I have a routine that creates a new matrix from an old matrix by using another matrix as a source for indexing. More specific...
10 months ago | 1 answer | 0
GPU Coder Error: CreateProcess failed: The system cannot find the file specified
Hi, I am trying to use the GPU coder to compile a MATLAB function of gpuArrays into a .mex file, but I keep getting the error "...
1 year ago | 0 answers | 0