is there any method to represent binary number in matlab

1 view (last 30 days)
is there any method to represent binary number in matlab????,beacause when i write 00 its only shows 0 in command window

Answers (1)

Greg Dionne
Greg Dionne on 31 Mar 2017
Try something like dec2bin(4) or bin2dec('01001')

Community Treasure Hunt

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

Start Hunting!