Faster base2dec Function

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

引用

Friedrich (2026). Faster base2dec Function (https://jp.mathworks.com/matlabcentral/fileexchange/68575-faster-base2dec-function), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Faster dec2base Function

ヒントを与えたファイル: Faster dec2base Function

カテゴリ

Help Center および MATLAB AnswersData Type Conversion についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.2

updated description and tags

1.0.1

license.txt now in lower case letters

1.0.0