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
-
1518 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
366 Solvers
-
403 Solvers
-
Getting the absolute index from a matrix
243 Solvers
-
How long do each of the stages of the rocket take to burn?
272 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!