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
-
8970 Solvers
-
All your base are belong to us
550 Solvers
-
Flip the main diagonal of a matrix
832 Solvers
-
Set some matrix elements to zero
557 Solvers
-
Create a vector whose elements depend on the previous element
712 Solvers
More from this Author70
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!