I've tried multiple schemes, some are faster than histc, but not fast enough. Hint?
This is nearly 30% slower than Solution 772002(size 35) on my PC(win 10 pro x64,i7 4700mq)
Hi Alfonso, I noticed that a faster solution is often beat by a slower solution (according to my own computer) when running on Cody. Could you share your knowledge or some guess on this issue? Thanks.
Create a cell array out of a struct
525 Solvers
185 Solvers
367 Solvers
Number of 1s in a binary string
3004 Solvers
423 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!