Convert decimal to binary and then generate the minimum binary it can with jumbling - MATLAB Cody - MATLAB Central

Problem 43042. Convert decimal to binary and then generate the minimum binary it can with jumbling

Difficulty:Rate

input is 10 --> 1010 output should be 3 --> 0011

input 23 --> 10111 output should be 15 --> 01111

Solution Stats

62.76% Correct | 37.24% Incorrect
Last Solution submitted on Apr 20, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers87

Suggested Problems

More from this Author43

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page