Convert decimal integer to arbitrary base.

バージョン 1.1.0.0 (1.4 KB) 作成者: DS
DECIMAL_CONVERT generates a vector of coefficients representing a base 10 integer in a chosen base.
ダウンロード: 484
更新 2012/4/9

ライセンスの表示

DECIMAL_CONVERT(D,B) returns the representation of decimal integer, D, as a vector of coefficients such that:

D = xn*B^n + ... + x2*B^2 + x1*B^1 + x0*B^0

where B is the chosen base.

See also polyval, dec2base, base2dec, de2bi, bi2de.

引用

DS (2024). Convert decimal integer to arbitrary base. (https://www.mathworks.com/matlabcentral/fileexchange/35133-convert-decimal-integer-to-arbitrary-base), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersData Type Conversion についてさらに検索
謝辞

ヒントを与えたファイル: Convert an A1-style spreadsheet column label to a number.

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Text edit; no code changes.

1.0.0.0