input is 10 --> 1010 output should be 3 --> 0011
input 23 --> 10111 output should be 15 --> 01111
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers95
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6799 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15798 Solvers
-
given 3 sides, find area of this triangle
821 Solvers
-
12012 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
601 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Technically it is the decimal equivalent of the "minimum binary" that must be returned here....