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
-
The Goldbach Conjecture, Part 2
1911 Solvers
-
Number of 1s in the Binary Representation of a Number
400 Solvers
-
Back to basics 13 - Input variables
256 Solvers
-
Multiples of a Number in a Given Range
491 Solvers
-
798 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!