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
-
Program an exclusive OR operation with logical operators
748 Solvers
-
248 Solvers
-
Create a vector whose elements depend on the previous element
777 Solvers
-
Matrix rotation as per given angle
118 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2132 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!