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 Solvers18
Suggested Problems
-
Select every other element of a vector
36203 Solvers
-
Increment a number, given its digits
684 Solvers
-
Program an exclusive OR operation with logical operators
750 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
Operate on matrices of unequal, yet similar, size
227 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.