This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Sariha Azad
on 11 Jun 2019
Why doesn't the built in function dec2bin() work here?
syed rahim
on 21 Jun 2019
dec2bin returns a character vector, the answer must be an int type
Suggested Problems
-
Increment a number, given its digits
659 Solvers
-
1406 Solvers
-
587 Solvers
-
508 Solvers
-
892 Solvers
More from this Author70
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!