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
-
3436 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
385 Solvers
-
83 Solvers
-
741 Solvers
-
Test Problem; Create a 5x5 array containing all ones
391 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!