bin -> unsigned decimal
>> a = convert_bin2dec('101000001', 0);
a = 321
bin -> signed decimal
>> a = convert_bin2dec('101000001', 1);
a = -191
引用
galaxy (2024). convert_bin2dec (https://www.mathworks.com/matlabcentral/fileexchange/73091-convert_bin2dec), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2019b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0 |