This Speed Performance Challenge is to optimize Unique for processing uint8/uint16/uint32 variables.
Input: A (column vector of uint8/uint16/uint32)
Output: B (column vector A processed by unique "like" function)
Scoring: Cumulative time, in msec, of "unique" processing of three medium size arrays.
Examples: [5;4;3;2;2;1] returns [1;2;3;4;5], and Fast
Hint: Help Unique, Legacy, Options
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
47216 Solvers
-
Determine whether a vector is monotonically increasing
23273 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2050 Solvers
-
23999 Solvers
-
Elapsed time is -0.005204 seconds.
104 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!