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
-
Number of 1s in the Binary Representation of a Number
438 Solvers
-
Determine if a Given Number is a Triangle Number
366 Solvers
-
Project Euler: Problem 3, Largest prime factor
1347 Solvers
-
Who knows the last digit of pi?
646 Solvers
-
Compute LOG(1+X) in natural log
240 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!