Community Profile

# Marin Genov

Last seen: 23 dagar ago Active since 2021

#### Content Feed

View by

Question

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...

### 1

Question

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...

### 2

Question

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...

### 1

Question

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; ...

### 3

Question

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...

### 1

Question

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...