dec2bin function provides wrong answer
Mostrar comentarios más antiguos
For example, when I type dec2bin(8), I expect the answer is 100b, instead the returned value in command window is actually 1000
2 comentarios
Why 100b? Its correct
dec2bin(7)
dec2bin(8)
dec2bin(15)
dec2bin(20)
Xin
el 27 de Oct. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!