Decimal to binary conversion (without using built-in function) - MATLAB Cody - MATLAB Central

Problem 45327. Decimal to binary conversion (without using built-in function)

Difficulty:Rate

convert the given decimal number to its equivalent binary without using built-in function.

  • n=18
  • out='10010'

Solution Stats

35.85% Correct | 64.15% Incorrect
Last Solution submitted on Dec 12, 2023

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers17

Suggested Problems

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!