bin -> unsigned decimal
>> a = convert_bin2dec('101000001', 0);
a = 321
bin -> signed decimal
>> a = convert_bin2dec('101000001', 1);
a = -191
Cite As
galaxy (2026). convert_bin2dec (https://au.mathworks.com/matlabcentral/fileexchange/73091-convert_bin2dec), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
