Problem 45327. Decimal to binary conversion (without using built-in function)
convert the given decimal number to its equivalent binary without using built-in function.
- n=18
- out='10010'
Solution Stats
Problem Comments
-
1 Comment
Lincoln Poon
on 17 Dec 2020
The test case for 55.55 seems to have demonstrated the answer for 55. Please have a check.
Solution Comments
Show commentsProblem Recent Solvers17
Suggested Problems
-
Maximum running product for a string of numbers
2198 Solvers
-
Test if a Number is a Palindrome without using any String Operations
238 Solvers
-
Back to basics 11 - Max Integer
791 Solvers
-
453 Solvers
-
Sum of first n terms of a harmonic progression
444 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!