dec2bin function provides wrong answer
Show older comments
For example, when I type dec2bin(8), I expect the answer is 100b, instead the returned value in command window is actually 1000
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!