bin2decsig(A). Function to convert a binary number to decimal signed.

bin2decsig(A) is a function that converts a binary number to a signed decimal.

You are now following this Submission

Few days ago i saw a post about someone asking how to convert binary to decimal signed, so i wrote a code that uses a string as an input and the output is a double. The sumation of the 2's complement is a mess, but i'm sure you can make it better.

Cite As

Nicolás Dueñas (2026). bin2decsig(A). Function to convert a binary number to decimal signed. (https://www.mathworks.com/matlabcentral/fileexchange/58505-bin2decsig-a-function-to-convert-a-binary-number-to-decimal-signed), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0