Challenge: Execute unique(a,'rows','stable') Faster for 'a' being uint8.
The "unique" function for the 'rows' and 'stable' options may be performed 10X more quickly for arrays of large rows, few columns, and uint8 (or values <256).
Output: unique(c,'rows','stable') or equivalent
Scoring: Time in milli-seconds
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more