convert_bin2dec

Versión 1.0.0 (1,16 KB) por galaxy
Convert from binary to decimal (sign or unsign)
18 descargas
Actualizado 23 oct 2019

Ver licencia

bin -> unsigned decimal
>> a = convert_bin2dec('101000001', 0);
a = 321

bin -> signed decimal
>> a = convert_bin2dec('101000001', 1);
a = -191

Citar como

galaxy (2024). convert_bin2dec (https://www.mathworks.com/matlabcentral/fileexchange/73091-convert_bin2dec), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

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