convert the given decimal number to its equivalent binary without using built-in function.
- n=18
- out='10010'
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Test if two numbers have the same digits
267 Solvers
-
Implement a bubble sort technique and output the number of swaps required
398 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
140 Solvers
-
Rounding off numbers to n decimals
5748 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test case for 55.55 seems to have demonstrated the answer for 55. Please have a check.