2s complement to decimal converter
Versión 1.0.0.0 (1,18 KB) por
Reza
Converts 2s complement to signed decimal equivalent
Converts 2s complement to signed decimal equivalent. Takes two arguments - the data, and the number of bits wide the data is. For example:
out = twos2decimal(data,16);
Citar como
Reza (2026). 2s complement to decimal converter (https://la.mathworks.com/matlabcentral/fileexchange/27816-2s-complement-to-decimal-converter), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numeric Types en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
