2s complement to decimal converter

Versión 1.0.0.0 (1,18 KB) por Reza
Converts 2s complement to signed decimal equivalent
2,6K Descargas
Actualizado 1 jun 2010

Ver licencia

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 Linux
Categorías
Más información sobre Numeric Types en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0