Problem 1338. Binary Coder
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Sumitkumar Pandey
on 14 Mar 2013
This solution is working in MATLAB Command window. so i am confused why it is showing error here??
Ned Gulley
on 15 Mar 2013
dec2bin returns a string. This problem is looking for numbers.
-
3 Comments
Harish Maradana
on 14 Mar 2013
i use dec2bin but it shows error pls help me
Tim
on 14 Mar 2013
Note that dec2bin returns a character string, but the test suite asks for numbers.
Harish Maradana
on 16 Mar 2013
thank you
Problem Recent Solvers194
Suggested Problems
-
Swap the first and last columns
16870 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1339 Solvers
-
408 Solvers
-
5257 Solvers
-
find the surface area of a cube
459 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!