Faster base2dec Function
Versione 1.0.2 (3,44 KB) da
Friedrich
This is a fast replacement for base2dec. It has the same syntax as base2dec and does not require compiling.
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
Cita come
Friedrich (2026). Faster base2dec Function (https://it.mathworks.com/matlabcentral/fileexchange/68575-faster-base2dec-function), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Data Type Conversion in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
