Faster base2dec Function

版本 1.0.2 (3.4 KB) 作者: Friedrich
This is a fast replacement for base2dec. It has the same syntax as base2dec and does not require compiling.
33.0 次下载
更新时间 2018/8/20

查看许可证

base2dec is a nice function but slow for large arrays and quite RAM hungry.
This version is a lot faster and minimizes RAM usage. It has the same input-output behavior as base2dec.

To make use of this improvement, just replace all your base2dec calls with nbase2dec.

Included are two files: nbase2dec.m and fbase2dec.m

nbase2dec has the same error checks as base2dec
fbase2dec skips error checks to be a little faster

引用格式

Friedrich (2024). Faster base2dec Function (https://www.mathworks.com/matlabcentral/fileexchange/68575-faster-base2dec-function), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Type Conversion 的更多信息
致谢

参考作品: Faster dec2base Function

启发作品: Faster dec2base Function

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

updated description and tags

1.0.1

license.txt now in lower case letters

1.0.0