How can I convert decimal number to binary number

I have a= 32
if i use dec2bin(a ) the result is (10 0000)
But I don't want it's like that
I want the result is (0010 0000)
How I can do that

 Accepted Answer

More Answers (0)

Categories

Asked:

on 29 Dec 2021

Answered:

on 29 Dec 2021

Community Treasure Hunt

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

Start Hunting!