Problem 45181. Take a binary number as input,rearrange it in any manner such that its value is greater than the original one.output should be all the possible values in decimal.
a='001' output = [4,2]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
Project Euler: Problem 3, Largest prime factor
1600 Solvers
-
Back to basics 23 - Triangular matrix
1037 Solvers
-
Magic is simple (for beginners)
9741 Solvers
-
Fermat's Last Theorem - Fermat's conjecture
101 Solvers
-
677 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!