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
-
Find common elements in matrix rows
2720 Solvers
-
How to find the position of an element in a vector without using the find function
2818 Solvers
-
832 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14095 Solvers
-
Create matrix of replicated elements
398 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.