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 1, Multiples of 3 and 5
3657 Solvers
-
Replace multiples of 5 with NaN
465 Solvers
-
Generate a random matrix A of (1,-1)
398 Solvers
-
361 Solvers
-
557 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!