The Challenge is to perform very fast unique function for a long and wide array.
The data is small integer representing data permutations of items like DNA and Rubik's cube faces.
Input: Array of uint8 of dimensions (m, 48) with values 0:3
Output: Array Equivalent to unique(A,'rows')
Hints:
1) Columns can be merged to form a reduced number of columns 2) Unique has the option to provide an Array and a sorting Index
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers20
Suggested Problems
-
Which values occur exactly three times?
5245 Solvers
-
Find the elements of a matrix according to a defined property.
92 Solvers
-
Set the array elements whose value is 13 to 0
1445 Solvers
-
find the maximum element of the matrix
539 Solvers
-
convert matrix to single column
436 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!