Problem 1861. Binary

Given a positive, integer n, create a function that returns the respective binary number in the form of a vector.


   input: 3
  output: [1 1]

Solution Stats

56.46% Correct | 43.54% Incorrect
Last Solution submitted on May 17, 2024

Solution Comments

Show comments

Problem Recent Solvers198

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!