Community Profile

photo

Marin Genov


Last seen: 10 månader ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Answered
Finding the length of the longest continuous streak of a same number for each row of a matrix
I had a bit of fever and remembered the following little trick to vectorize find row-wise that should have been obvious from the...

ungefär ett år ago | 0

Question


Finding the length of the longest continuous streak of a same number for each row of a matrix
Let A be a (possibly 3D) matrix of type uint16 and size [p,q,r] = size(A), whose rows are all sorted in an ascending way. I want...

ungefär ett år ago | 3 answers | 0

3

answers

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

mer än ett år ago | 1 answer | 0

1

answer

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

mer än ett år ago | 2 answers | 0

2

answers

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

mer än ett år ago | 1 answer | 0

1

answer

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

mer än ett år ago | 3 answers | 2

3

answers

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

ungefär 2 år ago | 1 answer | 0

1

answer

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

ungefär 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 1 answer | 2

1

answer