Problem 138. Number of 1s in the Binary Representation of a Number
31.06% Correct | 68.94% Incorrect
Last Solution submitted on May 18, 2023
Kye Taylor on 12 Apr 2012
Can you clarify what you mean by "vectorized input"?
Pritesh Shah on 19 Aug 2014
Nice Test cases
Solution CommentsShow comments
Problem Recent Solvers412
Number of 1s in a binary string
Convert given decimal number to binary number.
More from this Author56
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!